mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 18:50:32 +01:00
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:
1 parent
414f1660ed
commit
342db51523
1 file changed
+3
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user