mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-27 02:40:05 +00:00
Nav: Fixed merge cc26db8ec7
This commit is contained in:
parent
cc26db8ec7
commit
79ef64430c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue