cargo fmt
This commit is contained in:
committed by
Kenny Levinsen
parent
89c5aeb01d
commit
20e08f74ee
@@ -75,10 +75,13 @@ impl<'a> Launcher<'a> {
|
|||||||
Color::new(1.0, 1.0, 1.0, 1.0)
|
Color::new(1.0, 1.0, 1.0, 1.0)
|
||||||
};
|
};
|
||||||
|
|
||||||
let dim = self
|
let dim = self.font.borrow_mut().auto_draw_text_with_cursor(
|
||||||
.font
|
buf,
|
||||||
.borrow_mut()
|
bg,
|
||||||
.auto_draw_text_with_cursor(buf, bg, &c, &self.input, self.cursor)?;
|
&c,
|
||||||
|
&self.input,
|
||||||
|
self.cursor,
|
||||||
|
)?;
|
||||||
|
|
||||||
dim.0 + self.font_size / 4
|
dim.0 + self.font_size / 4
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user