未验证 提交 541e6c32 编写于 作者: A Alexey Zuev 提交者: GitHub

Not tree-shake repaint function by compressors like terser

Closes #1658
上级 e02baa8e
......@@ -144,7 +144,7 @@ export default function AnimationStateManager() {
css(target, 'transform', 'translate3d(' + translateX + 'px,' + translateY + 'px,0)');
repaint(target); // repaint
this.forRepaintDummy = repaint(target); // repaint
css(target, 'transition', 'transform ' + duration + 'ms' + (this.options.easing ? ' ' + this.options.easing : ''));
css(target, 'transform', 'translate3d(0,0,0)');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册