mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Fix for rapid ViewController fade transitions causing the camera to get "lost."
This commit is contained in:
parent
489298ef26
commit
e5e4394eb4
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue