Skip to content

Commit 04e06f7

Browse files
committed
Fix widget icon alpha
1 parent 1f2bf72 commit 04e06f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gfx/gfx_widgets.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,8 +1273,6 @@ static void gfx_widgets_draw_task_msg(
12731273
int texture = MENU_WIDGETS_ICON_CHECK;
12741274
float *color = msg_queue_task_positive;
12751275

1276-
gfx_display_set_alpha(color, msg->alpha);
1277-
12781276
if (!(msg->flags & DISPWIDG_FLAG_TASK_FINISHED))
12791277
{
12801278
texture = MENU_WIDGETS_ICON_HOURGLASS;
@@ -1298,6 +1296,8 @@ static void gfx_widgets_draw_task_msg(
12981296
color = msg_queue_task_negative;
12991297
}
13001298

1299+
gfx_display_set_alpha(color, msg->alpha);
1300+
13011301
gfx_widgets_draw_icon(
13021302
userdata,
13031303
p_disp,

0 commit comments

Comments
 (0)