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:
parent
bfaa426f7f
commit
5a9ebeca9e
@ -5516,7 +5516,7 @@ void ImGui::FocusWindow(ImGuiWindow* window)
|
|||||||
g.NavLayer = 0;
|
g.NavLayer = 0;
|
||||||
if (window && g.NavDisableMouseHover)
|
if (window && g.NavDisableMouseHover)
|
||||||
g.NavMousePosDirty = true;
|
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;
|
g.NavWindow = window;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user