diff --git a/imgui.cpp b/imgui.cpp index a20dd13..ef2b467 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -3303,7 +3303,7 @@ } 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;