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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
