You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/12/05 15:59:25 UTC

[echarts] branch graphic-animation updated: feat(animation): force set duration regardless the kfs

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch graphic-animation
in repository https://gitbox.apache.org/repos/asf/echarts.git


The following commit(s) were added to refs/heads/graphic-animation by this push:
     new 58f96bd  feat(animation): force set duration regardless the  kfs
58f96bd is described below

commit 58f96bdc516525f8eac4c2d06cf09d12f7de6c52
Author: pissang <bm...@gmail.com>
AuthorDate: Sun Dec 5 23:58:39 2021 +0800

    feat(animation): force set duration regardless the  kfs
---
 src/animation/customGraphicKeyframeAnimation.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/animation/customGraphicKeyframeAnimation.ts b/src/animation/customGraphicKeyframeAnimation.ts
index 609efd3..a585313 100644
--- a/src/animation/customGraphicKeyframeAnimation.ts
+++ b/src/animation/customGraphicKeyframeAnimation.ts
@@ -150,6 +150,6 @@ export function applyKeyframeAnimation<T extends Record<string, any>>(
 
         animator
             .delay(animationOpts.delay || 0)
-            .start(animationOpts.easing);
+            .start(animationOpts.easing, duration);
     });
 }
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org