mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-16 13:46:33 +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();
|
||||
if (topWin)
|
||||
if (topWin && topWin->isVisible())
|
||||
{
|
||||
// Update cursor state
|
||||
mGamepadGuiCursorEnabled = topWin->isGamepadCursorAllowed();
|
||||
|
|
Loading…
Reference in a new issue