FullscreenUI: Fix controller navigation breaking after Big Picture Mode window resized

If Big Picture mode's window is resized too greatly, the window's NavRectRel are stale and controller navigation breaks. This also happens when toggling fullscreen.

Now we force a nav reinit when resizing.
This commit is contained in:
jasaaved authored and lightningterror committed 2026-06-19 23:40:42 +02:00
1 parent 414f1660ed
commit 342db51523
1 file changed
+3
+3
View File
@@ -267,6 +267,9 @@ void ImGuiManager::WindowResized()
// Scale might have changed as a result of window resize.
RequestScaleUpdate();
if (GImGui->NavWindow != nullptr)
ImGui::NavInitWindow(GImGui->NavWindow, true);
}
void ImGuiManager::RequestScaleUpdate()