FullscreenUI: Get rid of extra scrollbar in save state selector

This commit is contained in:
Stenzek 2024-04-17 23:52:03 +10:00 committed by Connor McLaughlin
parent 815e5d952d
commit 410e950da6
1 changed files with 2 additions and 1 deletions

View File

@ -5289,7 +5289,8 @@ void FullscreenUI::DrawSaveStateSelector(bool is_loading)
bool close_handled = false; bool close_handled = false;
if (s_save_state_selector_open && 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(); BeginMenuButtons();