mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
The textlist navigation sound will now always start playing immediately when scrolling a single entry
This commit is contained in:
parent
8b67782340
commit
8e24c7b1d4
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue