mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15: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
|
void onScroll() override
|
||||||
{
|
{
|
||||||
if (mGamelistView &&
|
if (mGamelistView &&
|
||||||
!NavigationSounds::getInstance().isPlayingThemeNavigationSound(SCROLLSOUND))
|
(!isScrolling() ||
|
||||||
|
!NavigationSounds::getInstance().isPlayingThemeNavigationSound(SCROLLSOUND)))
|
||||||
NavigationSounds::getInstance().playThemeNavigationSound(SCROLLSOUND);
|
NavigationSounds::getInstance().playThemeNavigationSound(SCROLLSOUND);
|
||||||
else if (!mGamelistView &&
|
else if (!mGamelistView &&
|
||||||
!NavigationSounds::getInstance().isPlayingThemeNavigationSound(SYSTEMBROWSESOUND))
|
(!isScrolling() || !NavigationSounds::getInstance().isPlayingThemeNavigationSound(
|
||||||
|
SYSTEMBROWSESOUND)))
|
||||||
NavigationSounds::getInstance().playThemeNavigationSound(SYSTEMBROWSESOUND);
|
NavigationSounds::getInstance().playThemeNavigationSound(SYSTEMBROWSESOUND);
|
||||||
}
|
}
|
||||||
void onCursorChanged(const CursorState& state) override;
|
void onCursorChanged(const CursorState& state) override;
|
||||||
|
|
Loading…
Reference in a new issue