提交 0371501f 编写于 作者: R RubaXa

* effects: webkit

上级 f7900f74
......@@ -395,7 +395,8 @@ sort.destroy();
items.forEach(function (el){
var dx = el.w/el.force * (rx / -halfWidth);
var dy = el.h/el.force * (ry / halfHeight);
el.style['transform'] = 'translate3d('+dx+'px,'+dy+'px,0)';
el.style['transform'] =
el.style['-webkit-transform'] = 'translate3d('+dx+'px,'+dy+'px,0)';
});
requestAnimationFrame(_loop);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册