This commit is contained in:
thrust26 2023-08-31 21:43:10 +02:00
parent caa8cb72c0
commit a948a7a9f9

View File

@ -355,11 +355,10 @@ void DialogContainer::handleJoyBtnEvent(int stick, int button, bool pressed)
myCurrentButtonDown.stick = myCurrentButtonDown.button = -1;
myButtonRepeatTime = myButtonLongPressTime = 0;
}
if(myIgnoreButtonUp)
myIgnoreButtonUp = false;
else
if(!myIgnoreButtonUp)
activeDialog->handleJoyUp(stick, button);
}
myIgnoreButtonUp = false;
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -