mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Enabled textlist fast-scrolling for the system view
This commit is contained in:
parent
0d2488d80e
commit
8b67782340
|
@ -97,7 +97,8 @@ private:
|
||||||
if (mGamelistView &&
|
if (mGamelistView &&
|
||||||
!NavigationSounds::getInstance().isPlayingThemeNavigationSound(SCROLLSOUND))
|
!NavigationSounds::getInstance().isPlayingThemeNavigationSound(SCROLLSOUND))
|
||||||
NavigationSounds::getInstance().playThemeNavigationSound(SCROLLSOUND);
|
NavigationSounds::getInstance().playThemeNavigationSound(SCROLLSOUND);
|
||||||
else if (!mGamelistView)
|
else if (!mGamelistView &&
|
||||||
|
!NavigationSounds::getInstance().isPlayingThemeNavigationSound(SYSTEMBROWSESOUND))
|
||||||
NavigationSounds::getInstance().playThemeNavigationSound(SYSTEMBROWSESOUND);
|
NavigationSounds::getInstance().playThemeNavigationSound(SYSTEMBROWSESOUND);
|
||||||
}
|
}
|
||||||
void onCursorChanged(const CursorState& state) override;
|
void onCursorChanged(const CursorState& state) override;
|
||||||
|
@ -159,9 +160,7 @@ private:
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
TextListComponent<T>::TextListComponent()
|
TextListComponent<T>::TextListComponent()
|
||||||
: IList<TextListData, T> {(std::is_same_v<T, SystemData*> ?
|
: IList<TextListData, T> {IList<TextListData, T>::LIST_SCROLL_STYLE_QUICK,
|
||||||
IList<TextListData, T>::LIST_SCROLL_STYLE_SLOW :
|
|
||||||
IList<TextListData, T>::LIST_SCROLL_STYLE_QUICK),
|
|
||||||
ListLoopType::LIST_PAUSE_AT_END}
|
ListLoopType::LIST_PAUSE_AT_END}
|
||||||
, mRenderer {Renderer::getInstance()}
|
, mRenderer {Renderer::getInstance()}
|
||||||
, mCamOffset {0.0f}
|
, mCamOffset {0.0f}
|
||||||
|
|
Loading…
Reference in a new issue