This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch fix-pie-emphasis in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit 14978f5350b2601219d98f00541526c65c1467cc Author: Ovilia <zwl.s...@gmail.com> AuthorDate: Thu Sep 26 18:29:16 2019 +0800 fix(graphic): pie highlight not triggering since 5661c6eaaf75b8e98fa9f92348c37842e31c3490 --- src/util/graphic.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/util/graphic.js b/src/util/graphic.js index 0ca633d..2f7e058 100644 --- a/src/util/graphic.js +++ b/src/util/graphic.js @@ -331,13 +331,14 @@ function singleEnterEmphasis(el) { } var zr = el.__zr; - if (el.isGroup || (!zr && el.useHoverLayer)) { - return; - } var useHoverLayer = el.useHoverLayer && zr.painter.type === 'canvas'; el.__highlighted = useHoverLayer ? 'layer' : 'plain'; + if (el.isGroup || (!zr && el.useHoverLayer)) { + return; + } + var elTarget = el; var targetStyle = el.style; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org