1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-14 19:17:48 +01:00

Nav: Fix typo from 9712a81f85

This commit is contained in:
omar 2017-09-29 19:49:20 +02:00
parent bfaa426f7f
commit 5a9ebeca9e

View File

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