mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-20 01:34:20 +00:00
Demo: Rework Clipping section. Fix for static analysis. Added bindings in Readme.
This commit is contained in:
parent
963839373c
commit
db886f3953
5 changed files with 66 additions and 20 deletions
|
|
@ -3373,8 +3373,8 @@ void ImGui::UpdateMouseMovingWindowEndFrame()
|
|||
if (!root_window->TitleBarRect().Contains(g.IO.MouseClickedPos[0]))
|
||||
g.MovingWindow = NULL;
|
||||
|
||||
// Cancel moving if clicked over an item which was disabled or inhibited by popups
|
||||
if (g.HoveredId == 0 && g.HoveredIdDisabled)
|
||||
// Cancel moving if clicked over an item which was disabled or inhibited by popups (note that we know HoveredId == 0 already)
|
||||
if (g.HoveredIdDisabled)
|
||||
g.MovingWindow = NULL;
|
||||
}
|
||||
else if (root_window == NULL && g.NavWindow != NULL && GetTopMostPopupModal() == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue