FullscreenUI: Fix achievement list scrolling off screen

This commit is contained in:
Connor McLaughlin 2021-03-03 02:25:32 +10:00
parent c58227752d
commit 9cc079223c
1 changed files with 1 additions and 1 deletions

View File

@ -3885,7 +3885,7 @@ void DrawAchievementWindow()
ImGui::SetNextWindowBgAlpha(alpha);
if (BeginFullscreenWindow(ImVec2(0.0f, heading_height), ImVec2(display_size.x, display_size.x - heading_height),
if (BeginFullscreenWindow(ImVec2(0.0f, heading_height), ImVec2(display_size.x, display_size.y - heading_height),
"achievements", background, 0.0f, 0.0f, 0))
{