diff --git a/imgui.cpp b/imgui.cpp index 98398001..9936ba34 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -2463,7 +2463,7 @@ static void NavUpdate() IM_ASSERT(g.NavWindow); g.NavId = g.NavInitDefaultResultId; g.NavRefRectRel = g.NavInitDefaultResultRectRel; - if (!g.NavDisableHighlight) + if (g.NavDisableMouseHover) g.NavMousePosDirty = true; if (g.NavLayer == 0) g.NavWindow->NavLastId = g.NavId;