input: fix the infinite scrolling with the left shoulder button after #631

This commit is contained in:
cmitu 2020-02-03 05:53:11 +00:00
parent b9fddff3a3
commit c2a8617932

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();
}