cargo fmt

This commit is contained in:
Hilmar Gústafsson
2020-07-22 01:44:06 +02:00
committed by Kenny Levinsen
parent 89c5aeb01d
commit 20e08f74ee
+7 -4
View File
@@ -75,10 +75,13 @@ impl<'a> Launcher<'a> {
Color::new(1.0, 1.0, 1.0, 1.0)
};
let dim = self
.font
.borrow_mut()
.auto_draw_text_with_cursor(buf, bg, &c, &self.input, self.cursor)?;
let dim = self.font.borrow_mut().auto_draw_text_with_cursor(
buf,
bg,
&c,
&self.input,
self.cursor,
)?;
dim.0 + self.font_size / 4
} else {