Skip to content

Commit e9c8c4e

Browse files
committed
fix insbox expand and collapse icon not showing
1 parent a495eeb commit e9c8c4e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/draw_icon_insbox/draw_icon_insbox.gml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@ function draw_icon_insbox() {
3030
if (!hires) {
3131
if (!fdark) draw_sprite_ext(spr_icons_f, sprite, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), 1 - 0.2 * (a = 2), 1 - 0.2 * (a = 2), 0, -1, 1)
3232
else draw_sprite_ext(spr_icons_d, sprite, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), 1 - 0.2 * (a = 2), 1 - 0.2 * (a = 2), 0, -1, 1)
33+
draw_sprite_ext(spr_icons_col, sprite, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), 1 - 0.2 * (a = 2), 1 - 0.2 * (a = 2), 0, accent[6 - 2 * !fdark], 1)
3334
} else {
3435
if (!fdark) {
35-
draw_sprite_ext(spr_icons_f_hires, 26, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), (1 - 0.2 * (a = 2)) * 0.25, (1 - 0.2 * (a = 2)) * 0.25, 0, -1, 1)
36+
if (sprite < 58) draw_sprite_ext(spr_icons_f_hires, 26, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), (1 - 0.2 * (a = 2)) * 0.25, (1 - 0.2 * (a = 2)) * 0.25, 0, -1, 1)
3637
draw_sprite_ext(spr_icons_f_hires, sprite, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), (1 - 0.2 * (a = 2)) * 0.25, (1 - 0.2 * (a = 2)) * 0.25, 0, -1, 1)
38+
draw_sprite_ext(spr_icons_col_hires, sprite, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), (1 - 0.2 * (a = 2)) * 0.25, (1 - 0.2 * (a = 2)) * 0.25, 0, accent[6 - 2 * !fdark], 1)
3739
} else {
38-
draw_sprite_ext(spr_icons_d_hires, 26, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), (1 - 0.2 * (a = 2)) * 0.25, (1 - 0.2 * (a = 2)) * 0.25, 0, -1, 1)
40+
if (sprite < 58) draw_sprite_ext(spr_icons_d_hires, 26, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), (1 - 0.2 * (a = 2)) * 0.25, (1 - 0.2 * (a = 2)) * 0.25, 0, -1, 1)
3941
draw_sprite_ext(spr_icons_d_hires, sprite, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), (1 - 0.2 * (a = 2)) * 0.25, (1 - 0.2 * (a = 2)) * 0.25, 0, -1, 1)
42+
draw_sprite_ext(spr_icons_col_hires, sprite, xx + push + 25 * 0.1 * (a = 2), yy + push + 23 * 0.1 * (a = 2), (1 - 0.2 * (a = 2)) * 0.25, (1 - 0.2 * (a = 2)) * 0.25, 0, accent[6 - 2 * !fdark], 1)
4043
}
4144
}
4245
}

0 commit comments

Comments
 (0)