Commit e5e4394e authored by Aloshi's avatar Aloshi

Fix for rapid ViewController fade transitions causing the camera to get "lost."

parent 489298ef
......@@ -90,7 +90,7 @@ void ViewController::playViewTransition()
target = mCurrentView->getPosition();
// no need to animate, we're not going anywhere (probably goToNextGamelist() or goToPrevGamelist() when there's only 1 system)
if(target == -mCamera.translation())
if(target == -mCamera.translation() && !isAnimationPlaying(0))
if(Settings::getInstance()->getString("TransitionStyle") == "fade")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment