From 410e950da63533eca6de9c2f30b6b5e35e5dfb52 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 17 Apr 2024 23:52:03 +1000 Subject: [PATCH] FullscreenUI: Get rid of extra scrollbar in save state selector --- pcsx2/ImGui/FullscreenUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/ImGui/FullscreenUI.cpp b/pcsx2/ImGui/FullscreenUI.cpp index f85652773a..12d4402a89 100644 --- a/pcsx2/ImGui/FullscreenUI.cpp +++ b/pcsx2/ImGui/FullscreenUI.cpp @@ -5289,7 +5289,8 @@ void FullscreenUI::DrawSaveStateSelector(bool is_loading) 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();