From 8b677823408216bdacb97ee9de50a33b8f4d3920 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 13 Jul 2023 13:42:29 +0200 Subject: [PATCH] Enabled textlist fast-scrolling for the system view --- es-core/src/components/primary/TextListComponent.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/es-core/src/components/primary/TextListComponent.h b/es-core/src/components/primary/TextListComponent.h index fbc54147f..3db5a3d67 100644 --- a/es-core/src/components/primary/TextListComponent.h +++ b/es-core/src/components/primary/TextListComponent.h @@ -97,7 +97,8 @@ private: if (mGamelistView && !NavigationSounds::getInstance().isPlayingThemeNavigationSound(SCROLLSOUND)) NavigationSounds::getInstance().playThemeNavigationSound(SCROLLSOUND); - else if (!mGamelistView) + else if (!mGamelistView && + !NavigationSounds::getInstance().isPlayingThemeNavigationSound(SYSTEMBROWSESOUND)) NavigationSounds::getInstance().playThemeNavigationSound(SYSTEMBROWSESOUND); } void onCursorChanged(const CursorState& state) override; @@ -159,9 +160,7 @@ private: template TextListComponent::TextListComponent() - : IList {(std::is_same_v ? - IList::LIST_SCROLL_STYLE_SLOW : - IList::LIST_SCROLL_STYLE_QUICK), + : IList {IList::LIST_SCROLL_STYLE_QUICK, ListLoopType::LIST_PAUSE_AT_END} , mRenderer {Renderer::getInstance()} , mCamOffset {0.0f}