From 6ca4b31bf8c0f97ba6eb9c5a986abf9a2b0461c9 Mon Sep 17 00:00:00 2001 From: ocornut Date: Sat, 2 May 2015 15:54:35 +0100 Subject: [PATCH] Fixed popup resizing (broken 376a6a5af0f7b6421c63ca7e0e07d133447d34e7) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index a20dd138..ef2b4672 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -3303,7 +3303,7 @@ bool ImGui::Begin(const char* name, bool* p_opened, const ImVec2& size_on_first_ } else { - if ((window->Flags & ImGuiWindowFlags_Tooltip) != 0 && (window->Flags & ImGuiWindowFlags_AlwaysAutoResize) != 0) + if ((window->Flags & ImGuiWindowFlags_AlwaysAutoResize) != 0) { // Don't continuously mark settings as dirty, the size of the window doesn't need to be stored. window->Size = window->SizeFull = size_auto_fit;