Made the startup animation always finish playing before displaying the application update notification.

This commit is contained in:
Leon Styhre 2023-02-20 17:51:38 +01:00
parent 0d128a919c
commit 8d8de39c39

View file

@ -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() ?