mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Made the startup animation always finish playing before displaying the application update notification.
This commit is contained in:
parent
0d128a919c
commit
8d8de39c39
|
@ -210,6 +210,9 @@ void ViewController::invalidAlternativeEmulatorDialog()
|
||||||
|
|
||||||
void ViewController::updateAvailableDialog(const std::string& message)
|
void ViewController::updateAvailableDialog(const std::string& message)
|
||||||
{
|
{
|
||||||
|
if (isAnimationPlaying(0))
|
||||||
|
finishAnimation(0);
|
||||||
|
|
||||||
mWindow->pushGui(new GuiMsgBox(getHelpStyle(), message, "OK", nullptr, "", nullptr, "", nullptr,
|
mWindow->pushGui(new GuiMsgBox(getHelpStyle(), message, "OK", nullptr, "", nullptr, "", nullptr,
|
||||||
true, true,
|
true, true,
|
||||||
(mRenderer->getIsVerticalOrientation() ?
|
(mRenderer->getIsVerticalOrientation() ?
|
||||||
|
|
Loading…
Reference in a new issue