From 22577f272e2bbbb1bf2e18ad0cabce2bb2c08e3c Mon Sep 17 00:00:00 2001 From: Joel Arvidsson Date: Sun, 28 Feb 2016 23:15:47 -0300 Subject: [PATCH] Fixes Easing Composition Error. #5 --- CircleSnail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CircleSnail.js b/CircleSnail.js index 10610da..179c2e4 100644 --- a/CircleSnail.js +++ b/CircleSnail.js @@ -72,13 +72,13 @@ var CircleSnail = React.createClass({ toValue: -MAX_ARC_ANGLE * iteration - MIN_ARC_ANGLE, duration: 1000, isInteraction: false, - easing: Easing.quad(Easing.inOut), + easing: Easing.inOut(Easing.quad), }), Animated.timing(this.state.endAngle, { toValue: -MAX_ARC_ANGLE * iteration, duration: 1000, isInteraction: false, - easing: Easing.quad(Easing.inOut), + easing: Easing.inOut(Easing.quad), }) ]).start(endState => { if(endState.finished) {