From 28719da52e007a0423ec59f9871aad93e2436c3f Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 23 Feb 2023 17:09:27 +0100 Subject: [PATCH] Fixed an issue where the textlist scrolling overlay would sometimes not disappear. --- es-core/src/components/IList.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/es-core/src/components/IList.h b/es-core/src/components/IList.h index d79ce07a4..09ecb870c 100644 --- a/es-core/src/components/IList.h +++ b/es-core/src/components/IList.h @@ -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);