mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where slide transitions would continue to run after switching theme sets.
This commit is contained in:
parent
4481f7e329
commit
534a564237
|
@ -830,6 +830,9 @@ bool ViewController::input(InputConfig* config, Input input)
|
||||||
|
|
||||||
void ViewController::update(int deltaTime)
|
void ViewController::update(int deltaTime)
|
||||||
{
|
{
|
||||||
|
if (mWindow->getChangedThemeSet())
|
||||||
|
cancelViewTransitions();
|
||||||
|
|
||||||
if (mCurrentView)
|
if (mCurrentView)
|
||||||
mCurrentView->update(deltaTime);
|
mCurrentView->update(deltaTime);
|
||||||
|
|
||||||
|
|
|
@ -145,6 +145,7 @@ public:
|
||||||
bool getAllowTextScrolling() { return mAllowTextScrolling; }
|
bool getAllowTextScrolling() { return mAllowTextScrolling; }
|
||||||
|
|
||||||
void setChangedThemeSet() { mChangedThemeSet = true; }
|
void setChangedThemeSet() { mChangedThemeSet = true; }
|
||||||
|
bool getChangedThemeSet() { return mChangedThemeSet; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void onSleep();
|
void onSleep();
|
||||||
|
|
Loading…
Reference in a new issue