Browse Source

Nav: Fixed merge cc26db8ec7

pull/1608/head
omar 7 years ago
parent
commit
79ef64430c
  1. 2
      imgui.cpp

2
imgui.cpp

@ -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…
Cancel
Save