paint: cleanup

This commit is contained in:
luboslenco
2026-06-08 15:35:04 +02:00
parent c3623b12f5
commit facadc840d
37 changed files with 345 additions and 345 deletions
+1 -1
View File
@@ -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();