From 144fbd312631f7132084764177604e4637eb6a94 Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Mon, 1 May 2017 11:23:07 -0400 Subject: [PATCH] only apply easing function once! --- src/shared/transitions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/transitions.js b/src/shared/transitions.js index 01a13b77ec..90fdd0d170 100644 --- a/src/shared/transitions.js +++ b/src/shared/transitions.js @@ -75,7 +75,7 @@ export function wrapTransition ( node, fn, params, intro, outgroup ) { for ( var p = 0; p <= 1; p += 16.666 / this.duration ) { var t = this.a + this.d * ease( p ); - var styles = obj.styles( ease( t ) ); + var styles = obj.styles( t ); keyframes += ( p * 100 ) + '%{' + styles + '}\n'; }