From 1ed7bce3edf213c00632995929b0fc01bd5c4227 Mon Sep 17 00:00:00 2001 From: omar Date: Tue, 30 Jan 2018 18:29:53 +0100 Subject: [PATCH] Nav: Removed old unused code. (#787) --- imgui.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/imgui.cpp b/imgui.cpp index b566e1f4..1e0b6f63 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -3839,15 +3839,6 @@ void ImGui::EndFrame() g.ActiveIdClickOffset = g.IO.MousePos - g.HoveredRootWindow->Pos; if (!(g.HoveredWindow->Flags & ImGuiWindowFlags_NoMove) && !(g.HoveredRootWindow->Flags & ImGuiWindowFlags_NoMove)) g.MovingWindow = g.HoveredWindow; - - // FIXME-NAV: This never execute because of the FocusWindow call above, however we may want this behavior? - /* - if (g.NavWindow != g.HoveredWindow) - { - g.NavRefRectRel = ImRect(g.IO.MousePos - g.HoveredWindow->Pos, g.IO.MousePos - g.HoveredWindow->Pos); //ImRect(0,0,0,0); - g.NavDisableHighlight = true; - } - */ } else if (g.NavWindow != NULL && GetFrontMostModalRootWindow() == NULL) {