Merge pull request #635 from cmitu/fix-scroll

input: fix the infinite scrolling with the left shoulder button
This commit is contained in:
Jools Wills 2020-02-03 06:00:04 +00:00 committed by GitHub
commit c9b3f5b646
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -282,7 +282,7 @@ bool TextListComponent<T>::input(InputConfig* config, Input input)
}
}else{
if(config->isMappedLike("down", input) || config->isMappedLike("up", input) ||
config->isMappedLike("rightshoulder", input) || config->isMappedTo("leftshoulder", input))
config->isMappedLike("rightshoulder", input) || config->isMappedLike("leftshoulder", input))
{
stopScrolling();
}