Fixed an issue where the textlist scrolling overlay would sometimes not disappear.

This commit is contained in:
Leon Styhre 2023-02-23 17:09:27 +01:00
parent fbd804460c
commit 28719da52e

View file

@ -119,11 +119,11 @@ public:
void stopScrolling()
{
mTitleOverlayOpacity = 0.0f;
if (mScrollVelocity == 0)
return;
mTitleOverlayOpacity = 0.0f;
listInput(0);
if (mScrollVelocity == 0)
onCursorChanged(CursorState::CURSOR_STOPPED);