mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 06:06:35 +00:00
Nav: Fixed merge cc26db8ec7
This commit is contained in:
parent
cc26db8ec7
commit
79ef64430c
@ -2226,7 +2226,7 @@ bool ImGui::IsItemHovered()
|
||||
if (g.HoveredWindow == window)
|
||||
if (g.ActiveId == 0 || g.ActiveId == window->DC.LastItemId || g.ActiveIdAllowOverlap || g.ActiveId == window->MoveId)
|
||||
if (IsMouseHoveringRect(window->DC.LastItemRect.Min, window->DC.LastItemRect.Max))
|
||||
if (IsWindowContentHoverable(window))
|
||||
if (!g.NavDisableMouseHover && IsWindowContentHoverable(window))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user