From a9ade668a94d5c7301b16e389006978640354d98 Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:11:59 -0500 Subject: [PATCH] try commenting out popup stuff --- src/controller/deviceindex/ControllerReorderingWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controller/deviceindex/ControllerReorderingWindow.cpp b/src/controller/deviceindex/ControllerReorderingWindow.cpp index 0fd340279..9c8d1e5a0 100644 --- a/src/controller/deviceindex/ControllerReorderingWindow.cpp +++ b/src/controller/deviceindex/ControllerReorderingWindow.cpp @@ -79,8 +79,8 @@ void ControllerReorderingWindow::DrawElement() { // we have more than one controller, prompt the user for order if (mCurrentPortNumber <= std::min(connectedSdlControllerIndices.size(), static_cast(MAXCONTROLLERS))) { - ImGui::OpenPopup("Set Controller"); - if (ImGui::BeginPopupModal("Set Controller", NULL, ImGuiWindowFlags_AlwaysAutoResize)) { + // ImGui::OpenPopup("Set Controller"); + // if (ImGui::BeginPopupModal("Set Controller", NULL, ImGuiWindowFlags_AlwaysAutoResize)) { ImGui::Text("Press any button or move any axis\non the controller for port %d", mCurrentPortNumber); auto index = GetSDLIndexFromSDLInput(); @@ -99,8 +99,8 @@ void ControllerReorderingWindow::DrawElement() { ImGui::CloseCurrentPopup(); } - ImGui::EndPopup(); - } + // ImGui::EndPopup(); + // } return; }