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 2021/12/29 09:55:03 UTC

[echarts] 01/01: fix(state): fix default emphasis state of pattern.

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

shenyi pushed a commit to branch fix-pattern-highlight
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 874c345d6d184a326d3780573e49d90d4d99100b
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Dec 29 17:54:12 2021 +0800

    fix(state): fix default emphasis state of pattern.
---
 src/util/states.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util/states.ts b/src/util/states.ts
index 29179f4..0f8a16d 100644
--- a/src/util/states.ts
+++ b/src/util/states.ts
@@ -126,6 +126,8 @@ function liftColor(color: string | GradientObject): string | GradientObject {
         }));
         return ret;
     }
+    // Change nothing.
+    return color;
 }
 
 function doChangeHoverState(el: ECElement, stateName: DisplayState, hoverStateEnum: 0 | 1 | 2) {

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