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/03/27 11:19:05 UTC
[incubator-echarts] 01/02: fix z and zlevel in textContent
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit aec616ed2a91e2399b4aef5ff589855aa67e328b
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Mar 27 19:10:29 2020 +0800
fix z and zlevel in textContent
---
src/echarts.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/echarts.ts b/src/echarts.ts
index a5754e0..679d646 100644
--- a/src/echarts.ts
+++ b/src/echarts.ts
@@ -1714,8 +1714,8 @@ class ECharts extends Eventful {
const textContent = el.getTextContent();
if (textContent) {
- textContent.z = z;
- textContent.zlevel = zlevel;
+ textContent.z = el.z;
+ textContent.zlevel = el.zlevel;
// lift z2 of text content
textContent.z2 = el.z2 + 1;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org