1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-16 07:46:34 +00:00

Also don't process controller menu axis navigation events for hidden menus

This commit is contained in:
Alexei Kotov 2025-08-14 13:47:18 +03:00
parent d05bb877fe
commit 37c4277b92

View file

@ -353,7 +353,7 @@ namespace MWInput
}
MWGui::WindowBase* topWin = winMgr->getActiveControllerWindow();
if (topWin)
if (topWin && topWin->isVisible())
{
// Update cursor state
mGamepadGuiCursorEnabled = topWin->isGamepadCursorAllowed();