From d199554d86e1824c44c08ee3f5588e9606b49483 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 23 Dec 2021 12:31:04 +0100 Subject: [PATCH] (macOS) Disabled the startup animations also when starting with a gamelist view. --- es-app/src/views/ViewController.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/es-app/src/views/ViewController.cpp b/es-app/src/views/ViewController.cpp index 4d4b5f7b4..de990f132 100644 --- a/es-app/src/views/ViewController.cpp +++ b/es-app/src/views/ViewController.cpp @@ -240,6 +240,13 @@ void ViewController::invalidAlternativeEmulatorDialog() void ViewController::goToStart(bool playTransition) { +#if defined(__APPLE__) + // The startup animations are very choppy on macOS as of moving to SDL 2.0.18 so the + // best user experience is to simply disable them on this OS. + if (mState.viewing == NOTHING) + playTransition = false; +#endif + // If the system view does not exist, then create it. We do this here as it would // otherwise not be done if jumping directly into a specific game system on startup. if (!mSystemListView) @@ -398,7 +405,7 @@ void ViewController::goToSystemView(SystemData* system, bool playTransition) #if defined(__APPLE__) // The startup animations are very choppy on macOS as of moving to SDL 2.0.18 so the - // best user experience is to simply disable them. + // best user experience is to simply disable them on this OS. if (applicationStartup) playViewTransition(true); else if (playTransition)