Commit 13ab4fe8 by doszhang

dos

parent 645bf61c
...@@ -754,7 +754,7 @@ ...@@ -754,7 +754,7 @@
translateY = (currentRect.top - toRect.top) / (scaleY || 1); translateY = (currentRect.top - toRect.top) / (scaleY || 1);
target.animatingX = !!translateX; target.animatingX = !!translateX;
target.animatingY = !!translateY; target.animatingY = !!translateY;
css(target, 'transform', 'translate3d(' + translateX + 'px,' + translateY + 'px,0)'); css(target, 'transform', 'translate3d(' + 0 + 'px,' + translateY + 'px,0)');
repaint(target); // repaint repaint(target); // repaint
css(target, 'transition', 'transform ' + duration + 'ms' + (this.options.easing ? ' ' + this.options.easing : '')); css(target, 'transition', 'transform ' + duration + 'ms' + (this.options.easing ? ' ' + this.options.easing : ''));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment