|
|
@ -5538,7 +5538,8 @@ 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[0].Max = window ? (window->DC.CursorStartPos - window->Pos) : ImVec2(0,0);
|
|
|
|
if (window)
|
|
|
|
|
|
|
|
window->NavRectRel[0].Min = window->NavRectRel[0].Max = window->DC.CursorStartPos - window->Pos;
|
|
|
|
g.NavWindow = window;
|
|
|
|
g.NavWindow = window;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|