mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-17 12:16:36 +00:00
Also don't process controller menu axis navigation events for hidden menus
This commit is contained in:
parent
d05bb877fe
commit
37c4277b92
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ namespace MWInput
|
||||||
}
|
}
|
||||||
|
|
||||||
MWGui::WindowBase* topWin = winMgr->getActiveControllerWindow();
|
MWGui::WindowBase* topWin = winMgr->getActiveControllerWindow();
|
||||||
if (topWin)
|
if (topWin && topWin->isVisible())
|
||||||
{
|
{
|
||||||
// Update cursor state
|
// Update cursor state
|
||||||
mGamepadGuiCursorEnabled = topWin->isGamepadCursorAllowed();
|
mGamepadGuiCursorEnabled = topWin->isGamepadCursorAllowed();
|
||||||
|
|
Loading…
Reference in a new issue