From e5e4394eb4ec673c1a591ebae2d9ab7ee9e5d9e4 Mon Sep 17 00:00:00 2001 From: Aloshi Date: Sun, 1 Jun 2014 19:28:30 -0500 Subject: [PATCH] Fix for rapid ViewController fade transitions causing the camera to get "lost." --- src/views/ViewController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/ViewController.cpp b/src/views/ViewController.cpp index 091f47657..dcbe24668 100644 --- a/src/views/ViewController.cpp +++ b/src/views/ViewController.cpp @@ -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)) return; if(Settings::getInstance()->getString("TransitionStyle") == "fade")