소스 검색

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

ocornut 10 년 전
부모
커밋
2d81a73f85
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      imgui.cpp

+ 1 - 0
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)
                     {