mirror of
https://github.com/Drezil/imgui.git
synced 2025-10-30 04:31:06 +01:00
@@ -5126,7 +5126,7 @@ bool ImGui::IsWindowHovered(ImGuiHoveredFlags flags)
|
|||||||
if (!IsWindowContentHoverable(g.HoveredRootWindow, flags))
|
if (!IsWindowContentHoverable(g.HoveredRootWindow, flags))
|
||||||
return false;
|
return false;
|
||||||
if (!(flags & ImGuiHoveredFlags_AllowWhenBlockedByActiveItem))
|
if (!(flags & ImGuiHoveredFlags_AllowWhenBlockedByActiveItem))
|
||||||
if (g.ActiveId != 0 && !g.ActiveIdAllowOverlap)
|
if (g.ActiveId != 0 && !g.ActiveIdAllowOverlap && g.ActiveId != g.HoveredWindow->MoveId)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user