Skip to content

Commit 9e145cc

Browse files
committed
make the progress text dark when in light mode
1 parent 99b6fd3 commit 9e145cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/draw_downloadprogress/draw_downloadprogress.gml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ function draw_downloadprogress(argument0, argument1, argument2, argument3) {
4242
total_text = string_format(total_mb, 0, 2)
4343
}
4444
text = done_text + "/" + total_text + " MB (" + string(round(percent * 100)) + "%)"
45+
if (theme = 3 && !fdark) draw_set_color(0)
4546
draw_text_dynamic(floor(rw / 2), y1 + 65 - 5 * (theme = 3), text)
47+
draw_theme_color()
4648
draw_set_halign(fa_left)
4749

4850

0 commit comments

Comments
 (0)