Skip to content

Commit

Permalink
Fix achievement widget padding (libretro#16303)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos authored Feb 28, 2024
1 parent e09820e commit 0df031a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gfx/widgets/gfx_widget_achievement_popup.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ static void gfx_widget_achievement_popup_frame(void* data, void* userdata)
/* Calculate padding in screen space */
if (state->padding_auto)
{
screen_padding_x = p_dispwidget->msg_queue_rect_start_x -
p_dispwidget->msg_queue_icon_size_x;
screen_padding_x = p_dispwidget->msg_queue_rect_start_x;
screen_padding_y = screen_padding_x;
}
else
Expand Down

0 comments on commit 0df031a

Please sign in to comment.