FullscreenUI: Get rid of extra scrollbar in save state selector

This commit is contained in:
Stenzek 2024-04-18 00:41:37 +10:00
parent f666816943
commit 3bb36f95e2
No known key found for this signature in database
1 changed files with 3 additions and 2 deletions

View File

@ -5573,8 +5573,9 @@ void FullscreenUI::DrawSaveStateSelector(bool is_loading)
bool closed = false;
bool close_handled = false;
if (s_save_state_selector_open &&
ImGui::BeginChild("state_list", ImVec2(io.DisplaySize.x, io.DisplaySize.y - heading_size.y), false,
ImGuiWindowFlags_NavFlattened))
ImGui::BeginChild("state_list",
ImVec2(io.DisplaySize.x, io.DisplaySize.y - LayoutScale(LAYOUT_FOOTER_HEIGHT) - heading_size.y),
false, ImGuiWindowFlags_NavFlattened))
{
BeginMenuButtons();