Skip to content

Commit ca41de8

Browse files
committed
Fix about window icon size
1 parent 5c229e6 commit ca41de8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/draw_window_about/draw_window_about.gml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ function draw_window_about() {
99
draw_theme_font(font_main)
1010
if (language != 1) draw_text_dynamic(x1 + 8, y1 + 8, "About")
1111
else draw_text_dynamic(x1 + 8, y1 + 8, "关于")
12-
draw_sprite_ext(spr_logo, window_icon, x1 + 80, y1 + 50, 1, 1, 0, c_white, draw_get_alpha())
12+
var icon_index = window_icon
13+
if (window_icon && fdark) icon_index++
14+
draw_sprite_ext(spr_logo, icon_index, x1 + 80, y1 + 50, 1, 1, 0, c_white, draw_get_alpha())
1315
draw_set_halign(fa_center)
1416
draw_theme_font(font_info_med_bold)
1517
draw_text_dynamic(x1 + 150, y1 + 200, "Note Block Studio")

0 commit comments

Comments
 (0)