From 42c95019be3e4bad23e3d3c1327f1e6ef7f8498f Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 5 Jan 2021 15:09:41 +0100 Subject: [PATCH] Fixed an issue where the Grid view style would continue to scroll indefinitely. --- es-app/src/views/gamelist/GridGameListView.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/es-app/src/views/gamelist/GridGameListView.h b/es-app/src/views/gamelist/GridGameListView.h index 610d9d5f7..b9eabfc26 100644 --- a/es-app/src/views/gamelist/GridGameListView.h +++ b/es-app/src/views/gamelist/GridGameListView.h @@ -41,6 +41,13 @@ public: virtual std::vector getHelpPrompts() override; virtual void launch(FileData* game) override; + virtual bool isListScrolling() override { return mGrid.isScrolling(); }; + virtual void stopListScrolling() override + { + mGrid.stopAllAnimations(); + mGrid.stopScrolling(); + }; + virtual const std::vector& getFirstLetterIndex() override { return mFirstLetterIndex; };