提交 58e82fea 编写于 作者: L lang

饼图动画时间调成一致,#1308 #1056 safari bug

上级 e669a174
...@@ -190,7 +190,7 @@ define(function (require) { ...@@ -190,7 +190,7 @@ define(function (require) {
}) })
.start(easing); .start(easing);
} }
/** /**
* 环型动画 * 环型动画
* *
...@@ -228,7 +228,7 @@ define(function (require) { ...@@ -228,7 +228,7 @@ define(function (require) {
.start(easing); .start(easing);
zr.animate(newShape.id, '') zr.animate(newShape.id, '')
.when( .when(
Math.round(duration / 3 * 2), duration,
{ rotation : [0, x, y] } { rotation : [0, x, y] }
) )
.start(easing); .start(easing);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册