mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Eliminated some incorrect and unnecessary cursor stops in IList.
Also got rid of some unnecessary cursor stops triggered by TextListComponent.
This commit is contained in:
parent
7718e97d29
commit
15314fff84
|
@ -101,6 +101,9 @@ public:
|
|||
|
||||
void stopScrolling()
|
||||
{
|
||||
if (mScrollVelocity == 0)
|
||||
return;
|
||||
|
||||
mTitleOverlayOpacity = 0.0f;
|
||||
|
||||
listInput(0);
|
||||
|
|
|
@ -282,7 +282,7 @@ template <typename T> void TextListComponent<T>::update(int deltaTime)
|
|||
{
|
||||
List::listUpdate(deltaTime);
|
||||
|
||||
if (mWindow->isScreensaverActive() || !mWindow->getAllowTextScrolling())
|
||||
if (isScrolling() && (mWindow->isScreensaverActive() || !mWindow->getAllowTextScrolling()))
|
||||
List::stopScrolling();
|
||||
|
||||
if (!isScrolling() && size() > 0) {
|
||||
|
|
Loading…
Reference in a new issue