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/07/26 05:59:26 UTC

[incubator-echarts] branch datazoom-brush updated: feat(dataZoom): tweak default style

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

shenyi pushed a commit to branch datazoom-brush
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/datazoom-brush by this push:
     new 2b6aa05  feat(dataZoom): tweak default style
2b6aa05 is described below

commit 2b6aa05da36b43f5756abda20a5a52996cef680d
Author: pissang <bm...@gmail.com>
AuthorDate: Sun Jul 26 13:58:53 2020 +0800

    feat(dataZoom): tweak default style
---
 src/component/dataZoom/SliderZoomModel.ts | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/component/dataZoom/SliderZoomModel.ts b/src/component/dataZoom/SliderZoomModel.ts
index a01a1d3..f44c79d 100644
--- a/src/component/dataZoom/SliderZoomModel.ts
+++ b/src/component/dataZoom/SliderZoomModel.ts
@@ -183,8 +183,8 @@ class SliderZoomModel extends DataZoomModel<SliderDataZoomOption> {
         moveHandleSize: 7,
         moveHandleIcon: 'path://M15 15.984q0.797 0 1.406 0.609t0.609 1.406-0.609 1.406-1.406 0.609-1.406-0.609-0.609-1.406 0.609-1.406 1.406-0.609zM15 9.984q0.797 0 1.406 0.609t0.609 1.406-0.609 1.406-1.406 0.609-1.406-0.609-0.609-1.406 0.609-1.406 1.406-0.609zM15 8.016q-0.797 0-1.406-0.609t-0.609-1.406 0.609-1.406 1.406-0.609 1.406 0.609 0.609 1.406-0.609 1.406-1.406 0.609zM9 3.984q0.797 0 1.406 0.609t0.609 1.406-0.609 1.406-1.406 0.609-1.406-0.609-0.609-1.406 0.609-1.406 1.406-0.609zM9 [...]
         moveHandleStyle: {
-            color: '#D2DBEE',
-            opacity: 0.7
+            color: '#D2DBEE'
+            // opacity: 0.7
         },
 
         showDetail: true,
@@ -202,8 +202,7 @@ class SliderZoomModel extends DataZoomModel<SliderDataZoomOption> {
 
         emphasis: {
             handleStyle: {
-                borderColor: '#8FB0F7',
-                borderWidth: 2
+                borderColor: '#8FB0F7'
             },
             moveHandleStyle: {
                 color: '#8FB0F7'


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