mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where transition animations could stop working after switching theme sets.
This commit is contained in:
parent
85cb10d71a
commit
9a24423c82
|
@ -380,7 +380,7 @@ void Window::update(int deltaTime)
|
||||||
// will be moved. This is required as theme set changes always makes a transition to
|
// will be moved. This is required as theme set changes always makes a transition to
|
||||||
// the system view. If we wouldn't make this update, the camera movement would take
|
// the system view. If we wouldn't make this update, the camera movement would take
|
||||||
// place once the menu has been closed.
|
// place once the menu has been closed.
|
||||||
if (mChangedThemeSet && mGuiStack.size() > 1) {
|
if (mChangedThemeSet) {
|
||||||
mGuiStack.front()->update(deltaTime);
|
mGuiStack.front()->update(deltaTime);
|
||||||
mChangedThemeSet = false;
|
mChangedThemeSet = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue