Nav: Fixed merge cc26db8ec7

This commit is contained in:
omar 2017-09-27 17:27:21 +02:00
parent cc26db8ec7
commit 79ef64430c

View File

@ -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;