mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 12:05:38 +00:00
Fixed an issue where navigation in menus would behave weirdly under some circumstances.
This commit is contained in:
parent
79849188d1
commit
00e304f09a
|
@ -61,6 +61,12 @@ bool ComponentList::input(InputConfig* config, Input input)
|
|||
if (size() == 0)
|
||||
return false;
|
||||
|
||||
if (input.value &&
|
||||
(config->isMappedTo("a", input) || config->isMappedLike("lefttrigger", input) ||
|
||||
config->isMappedLike("righttrigger", input))) {
|
||||
stopScrolling();
|
||||
}
|
||||
|
||||
// Give it to the current row's input handler.
|
||||
if (mEntries.at(mCursor).data.input_handler) {
|
||||
if (mEntries.at(mCursor).data.input_handler(config, input))
|
||||
|
|
Loading…
Reference in a new issue