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/11/10 08:02:51 UTC
[incubator-echarts] branch release updated: Fix(tree): `symbol` is
`none` cannot be skipped
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/release by this push:
new 954e3b5 Fix(tree): `symbol` is `none` cannot be skipped
new 3401f0b Merge pull request #13580 from susiwen8/tree
954e3b5 is described below
commit 954e3b5156b3754852eeb715f4ed77d0ce1ba8f7
Author: susiwen8 <su...@gmail.com>
AuthorDate: Mon Nov 9 23:58:25 2020 +0800
Fix(tree): `symbol` is `none` cannot be skipped
---
src/chart/tree/TreeView.ts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/chart/tree/TreeView.ts b/src/chart/tree/TreeView.ts
index 6890aa8..d5cd5d1 100644
--- a/src/chart/tree/TreeView.ts
+++ b/src/chart/tree/TreeView.ts
@@ -362,8 +362,7 @@ function symbolNeedsDraw(data: List, dataIndex: number) {
const layout = data.getItemLayout(dataIndex);
return layout
- && !isNaN(layout.x) && !isNaN(layout.y)
- && data.getItemVisual(dataIndex, 'symbol') !== 'none';
+ && !isNaN(layout.x) && !isNaN(layout.y);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org