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 2020/10/28 13:58:07 UTC

[incubator-echarts] 02/03: fix(line): fix symbol still has animation when disabled bug.

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

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

commit c2211f097c262fd46fd867a267eb74b2d59fbba1
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Oct 28 21:32:29 2020 +0800

    fix(line): fix symbol still has animation when disabled bug.
---
 src/chart/line/LineView.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chart/line/LineView.ts b/src/chart/line/LineView.ts
index 4a7b324..9ed8bec 100644
--- a/src/chart/line/LineView.ts
+++ b/src/chart/line/LineView.ts
@@ -621,7 +621,7 @@ class LineView extends ChartView {
                 }
             });
 
-            this._initSymbolLabelAnimation(
+            hasAnimation && this._initSymbolLabelAnimation(
                 data,
                 coordSys,
                 clipShapeForSymbol


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