paint: cleanup
This commit is contained in:
@@ -11,7 +11,7 @@ void console_draw_toast(char *s) {
|
||||
f32 x = iron_window_width() / 2.0;
|
||||
f32 y = iron_window_height() - 200 * scale;
|
||||
draw_filled_rect(x - 200 * scale, y, 400 * scale, 80 * scale);
|
||||
draw_set_font(base_font, math_floor(22 * scale));
|
||||
draw_set_font(g_font, math_floor(22 * scale));
|
||||
draw_set_color(0xffffffff);
|
||||
draw_string(s, x - draw_string_width(draw_font, draw_font_size, s) / 2.0, y + 40 * scale - draw_font_height(draw_font, draw_font_size) / 2.0);
|
||||
draw_end();
|
||||
|
||||
Reference in New Issue
Block a user