1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-28 09:30:56 +01:00

Double-clicking on resize grip doesn't keep grip active if mouse button is kept held.

This commit is contained in:
ocornut 2015-03-20 10:51:33 +00:00
parent 2d29907611
commit 2d81a73f85

View File

@ -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)
{