You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/12/15 12:07:06 UTC

[incubator-echarts] 01/01: fix: fix code brought in #13771

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

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

commit d0ba772915feaeac35cc3f80d28ae448c1714f69
Author: 100pah <su...@gmail.com>
AuthorDate: Tue Dec 15 20:05:40 2020 +0800

    fix: fix code brought in #13771
---
 src/component/tooltip/TooltipView.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/component/tooltip/TooltipView.ts b/src/component/tooltip/TooltipView.ts
index 1919c9b..92e0af1 100644
--- a/src/component/tooltip/TooltipView.ts
+++ b/src/component/tooltip/TooltipView.ts
@@ -758,7 +758,7 @@ class TooltipView extends ComponentView {
     } {
         if (trigger === 'axis' || zrUtil.isArray(tooltipDataParams)) {
             return {
-                color: borderColor || this._renderMode === 'html' ? '#fff' : 'none'
+                color: borderColor || (this._renderMode === 'html' ? '#fff' : 'none')
             };
         }
 


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