mirror of https://github.com/stella-emu/stella.git
fix long press navigation bug (fixes #845)
This commit is contained in:
parent
e4bb59a760
commit
ecf7afea70
|
@ -724,6 +724,7 @@ void LauncherDialog::handleJoyDown(int stick, int button, bool longPress)
|
|||
myEventHandled = false;
|
||||
myList->setFlags(Widget::FLAG_WANTS_RAWDATA); // allow handling long button press
|
||||
Dialog::handleJoyDown(stick, button, longPress);
|
||||
myList->clearFlags(Widget::FLAG_WANTS_RAWDATA); // revert flag afterwards!
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
Loading…
Reference in New Issue