From 0df031a580d50ca5a7ad8841a84aa53bb3087548 Mon Sep 17 00:00:00 2001 From: sonninnos <45124675+sonninnos@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:20:24 +0200 Subject: [PATCH] Fix achievement widget padding (#16303) --- gfx/widgets/gfx_widget_achievement_popup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/widgets/gfx_widget_achievement_popup.c b/gfx/widgets/gfx_widget_achievement_popup.c index 171ea7e9bc3..ffa1e1f35b5 100644 --- a/gfx/widgets/gfx_widget_achievement_popup.c +++ b/gfx/widgets/gfx_widget_achievement_popup.c @@ -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