mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-16 07:46:34 +00:00
fix a double-press bug where controller input on Lua dialog boxes was being broadcast down into whatever the last open dialog box was.
This commit is contained in:
parent
b5f87a9d50
commit
d05bb877fe
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ namespace MWInput
|
|||
winMgr->setCursorActive(false);
|
||||
|
||||
MWGui::WindowBase* topWin = winMgr->getActiveControllerWindow();
|
||||
if (topWin)
|
||||
if (topWin && topWin->isVisible())
|
||||
{
|
||||
// When the inventory tooltip is visible, we don't actually want the A button to
|
||||
// act like a mouse button; it should act normally.
|
||||
|
|
Loading…
Reference in a new issue