Commit 988eec23 by doszhang

dos

parent 040f24b2
...@@ -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(' + translateX + '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 : ''));
...@@ -1792,7 +1792,7 @@ ...@@ -1792,7 +1792,7 @@
on(document, 'drop', _this); // #1276 fix: on(document, 'drop', _this); // #1276 fix:
// css(dragEl, 'transform', 'translateZ(0)'); css(dragEl, 'transform', 'translateZ(0)');
} }
awaitingDragStarted = true; awaitingDragStarted = true;
......
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