mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05: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)
|
||||
{
|
||||
if (mWindow->getChangedThemeSet())
|
||||
cancelViewTransitions();
|
||||
|
||||
if (mCurrentView)
|
||||
mCurrentView->update(deltaTime);
|
||||
|
||||
|
|
|
@ -145,6 +145,7 @@ public:
|
|||
bool getAllowTextScrolling() { return mAllowTextScrolling; }
|
||||
|
||||
void setChangedThemeSet() { mChangedThemeSet = true; }
|
||||
bool getChangedThemeSet() { return mChangedThemeSet; }
|
||||
|
||||
private:
|
||||
void onSleep();
|
||||
|
|
Loading…
Reference in a new issue