Skip to content

Commit

Permalink
Noticed that the popup sometimes doesn't have the correct size, added…
Browse files Browse the repository at this point in the history
… AlwaysAutoResize to its flags
  • Loading branch information
katemonster33 committed Apr 2, 2024
1 parent 76569d4 commit e3443bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e3443bc

Please sign in to comment.