From bc70d9118d8a2383f5b28a0e40a06862f2451c85 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Sat, 20 Jan 2024 16:20:09 +0100 Subject: [PATCH] ui: restore drag scrolling on controller mapping popup regression introduced by 105ab95efad1019b46b44526b92f5725d7d57acb --- core/rend/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rend/gui.cpp b/core/rend/gui.cpp index b78f19907..b61e4770b 100644 --- a/core/rend/gui.cpp +++ b/core/rend/gui.cpp @@ -1196,7 +1196,7 @@ static void controller_mapping_popup(const std::shared_ptr& gamep char key_id[32]; - ImGui::BeginChild(ImGui::GetID("buttons"), ImVec2(0, 0), ImGuiChildFlags_FrameStyle); + ImGui::BeginChild(ImGui::GetID("buttons"), ImVec2(0, 0), ImGuiChildFlags_FrameStyle, ImGuiWindowFlags_DragScrolling); for (; systemMapping->name != nullptr; systemMapping++) {