From 8e24c7b1d48b1f2ceae242c430b8dd38b9424072 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 13 Jul 2023 14:26:11 +0200 Subject: [PATCH] The textlist navigation sound will now always start playing immediately when scrolling a single entry --- es-core/src/components/primary/TextListComponent.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/es-core/src/components/primary/TextListComponent.h b/es-core/src/components/primary/TextListComponent.h index 3db5a3d67..5431d5792 100644 --- a/es-core/src/components/primary/TextListComponent.h +++ b/es-core/src/components/primary/TextListComponent.h @@ -95,10 +95,12 @@ private: void onScroll() override { if (mGamelistView && - !NavigationSounds::getInstance().isPlayingThemeNavigationSound(SCROLLSOUND)) + (!isScrolling() || + !NavigationSounds::getInstance().isPlayingThemeNavigationSound(SCROLLSOUND))) NavigationSounds::getInstance().playThemeNavigationSound(SCROLLSOUND); else if (!mGamelistView && - !NavigationSounds::getInstance().isPlayingThemeNavigationSound(SYSTEMBROWSESOUND)) + (!isScrolling() || !NavigationSounds::getInstance().isPlayingThemeNavigationSound( + SYSTEMBROWSESOUND))) NavigationSounds::getInstance().playThemeNavigationSound(SYSTEMBROWSESOUND); } void onCursorChanged(const CursorState& state) override;