mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Fixed an issue where using the trigger buttons did not reset any currently held buttons.
This commit is contained in:
parent
825d220be0
commit
4b03c90bf3
|
@ -222,6 +222,8 @@ protected:
|
|||
{
|
||||
mLastCursor = mCursor;
|
||||
mCursor = 0;
|
||||
mScrollVelocity = 0;
|
||||
mScrollTier = 0;
|
||||
onCursorChanged(CursorState::CURSOR_STOPPED);
|
||||
onScroll();
|
||||
return true;
|
||||
|
@ -231,6 +233,8 @@ protected:
|
|||
{
|
||||
mLastCursor = mCursor;
|
||||
mCursor = static_cast<int>(mEntries.size()) - 1;
|
||||
mScrollVelocity = 0;
|
||||
mScrollTier = 0;
|
||||
onCursorChanged(CursorState::CURSOR_STOPPED);
|
||||
onScroll();
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue