From 2d81a73f8552c2aaaba5bbc7f94eb9a7312575ba Mon Sep 17 00:00:00 2001 From: ocornut Date: Fri, 20 Mar 2015 10:51:33 +0000 Subject: [PATCH] Double-clicking on resize grip doesn't keep grip active if mouse button is kept held. --- imgui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui.cpp b/imgui.cpp index bb2bffcc..b3842939 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -3056,6 +3056,7 @@ bool ImGui::Begin(const char* name, bool* p_opened, const ImVec2& size, float bg window->SizeFull = size_auto_fit; if (!(window->Flags & ImGuiWindowFlags_NoSavedSettings)) MarkSettingsDirty(); + SetActiveId(0); } else if (held) {