From 5a9ebeca9e45e10d3e14dad49c33af27eea7ca70 Mon Sep 17 00:00:00 2001 From: omar Date: Fri, 29 Sep 2017 19:49:20 +0200 Subject: [PATCH] Nav: Fix typo from 9712a81f85bc22f9c10f7f9492613dc353b4ebd3 --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 961fa1486..a09bb8c6d 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -5516,7 +5516,7 @@ void ImGui::FocusWindow(ImGuiWindow* window) g.NavLayer = 0; if (window && g.NavDisableMouseHover) g.NavMousePosDirty = true; - window->NavRectRel[0].Min = window->NavRectRel[1].Max = window ? (window->DC.CursorStartPos - window->Pos) : ImVec2(0,0); + window->NavRectRel[0].Min = window->NavRectRel[0].Max = window ? (window->DC.CursorStartPos - window->Pos) : ImVec2(0,0); g.NavWindow = window; }