Skip to content

Commit 19b618d

Browse files
committed
FullscreenUI: Fix incorrect background rect bounds
1 parent 2a4daa7 commit 19b618d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/fullscreenui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ void FullscreenUI::DrawPauseMenu()
16001600

16011601
// background
16021602
dl->AddRectFilled(ImVec2(0.0f, scaled_top_bar_height),
1603-
ImVec2(display_size.x, display_size.x - scaled_top_bar_height - LayoutScale(LAYOUT_FOOTER_HEIGHT)),
1603+
ImVec2(display_size.x, display_size.y - LayoutScale(LAYOUT_FOOTER_HEIGHT)),
16041604
ImGui::GetColorU32(ModAlpha(UIStyle.BackgroundColor, 0.9f)));
16051605

16061606
DrawAchievementsPauseMenuOverlays(scaled_top_bar_height);

0 commit comments

Comments
 (0)