only apply easing function once!

pull/525/head
Rich-Harris 8 years ago
parent ec0e4a62cf
commit 07f6ec50ed

@ -75,7 +75,7 @@ export function wrapTransition ( node, fn, params, intro, outgroup ) {
for ( var p = 0; p <= 1; p += 16.666 / this.duration ) { for ( var p = 0; p <= 1; p += 16.666 / this.duration ) {
var t = this.a + this.d * ease( p ); var t = this.a + this.d * ease( p );
var styles = obj.styles( ease( t ) ); var styles = obj.styles( t );
keyframes += ( p * 100 ) + '%{' + styles + '}\n'; keyframes += ( p * 100 ) + '%{' + styles + '}\n';
} }

Loading…
Cancel
Save