From d50f8896677b6eaff5df333d3c5d01eb094f2149 Mon Sep 17 00:00:00 2001 From: Timothy John Date: Wed, 24 Mar 2021 16:27:43 +0000 Subject: [PATCH] Fix Fade.createFadeInTransition bug when both newScreen and oldScreen present. (#1810) Originally, newScreen and oldScreen were passed, resulting in a crossfade effect. Now, only newScreen is passed, resulting in a fade in. --- source/feathers/motion/Fade.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/feathers/motion/Fade.as b/source/feathers/motion/Fade.as index a962c13bb6..e60bc2b4e1 100644 --- a/source/feathers/motion/Fade.as +++ b/source/feathers/motion/Fade.as @@ -171,7 +171,7 @@ package feathers.motion { oldScreen.alpha = 1; } - var tween:FadeTween = new FadeTween(newScreen, oldScreen, duration, ease, onComplete, tweenProperties); + var tween:FadeTween = new FadeTween(newScreen, null, duration, ease, onComplete, tweenProperties); } else { @@ -339,4 +339,4 @@ class FadeTween extends Tween this._onCompleteCallback(); } } -} \ No newline at end of file +}