mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-19 09:27:22 -04:00
Also don't process controller menu axis navigation events for hidden menus
This commit is contained in:
parent
d05bb877fe
commit
37c4277b92
@ -353,7 +353,7 @@ namespace MWInput
|
||||
}
|
||||
|
||||
MWGui::WindowBase* topWin = winMgr->getActiveControllerWindow();
|
||||
if (topWin)
|
||||
if (topWin && topWin->isVisible())
|
||||
{
|
||||
// Update cursor state
|
||||
mGamepadGuiCursorEnabled = topWin->isGamepadCursorAllowed();
|
||||
|
Loading…
x
Reference in New Issue
Block a user