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

View file

@ -5573,8 +5573,9 @@ void FullscreenUI::DrawSaveStateSelector(bool is_loading)
bool closed = false; bool closed = false;
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, ImGui::BeginChild("state_list",
ImGuiWindowFlags_NavFlattened)) ImVec2(io.DisplaySize.x, io.DisplaySize.y - LayoutScale(LAYOUT_FOOTER_HEIGHT) - heading_size.y),
false, ImGuiWindowFlags_NavFlattened))
{ {
BeginMenuButtons(); BeginMenuButtons();