From c06da318d63a9e74f11f7a92791a51d756e2df30 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 14 Jun 2025 01:22:21 +1000 Subject: [PATCH] FullscreenUI: Fix trophy placement on non-square covers --- src/core/fullscreen_ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/fullscreen_ui.cpp b/src/core/fullscreen_ui.cpp index 9cd1a70fb..d5a666b65 100644 --- a/src/core/fullscreen_ui.cpp +++ b/src/core/fullscreen_ui.cpp @@ -8309,7 +8309,7 @@ void FullscreenUI::DrawGameGrid(const ImVec2& heading_size) { const ImVec2 trophy_size = ImVec2(static_cast(cover_trophy->GetWidth()), static_cast(cover_trophy->GetHeight())); - ImGui::GetWindowDrawList()->AddImage(cover_trophy, image_rect.Max - trophy_size, image_rect.Max, + ImGui::GetWindowDrawList()->AddImage(cover_trophy, bb.Min + image_size - trophy_size, bb.Min + image_size, ImVec2(0.0f, 0.0f), ImVec2(1.0f, 1.0f), IM_COL32(255, 255, 255, 255)); }