From e3443bcdaef2dfd6d9be5539ce24afb0ad59633f Mon Sep 17 00:00:00 2001 From: Katie M Date: Tue, 2 Apr 2024 15:36:31 -0400 Subject: [PATCH] Noticed that the popup sometimes doesn't have the correct size, added AlwaysAutoResize to its flags --- src/popup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup.cpp b/src/popup.cpp index 9880ba1da1ef8..2bbd1e6d22ab2 100644 --- a/src/popup.cpp +++ b/src/popup.cpp @@ -23,7 +23,7 @@ class query_popup_impl : public cataimgui::window short keyboard_selected_option; explicit query_popup_impl( query_popup *parent ) : cataimgui::window( "QUERY_POPUP", - ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoScrollbar ) { + ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_AlwaysAutoResize ) { msg_width = 400; this->parent = parent; keyboard_selected_option = 0;