From 804dbc694ad58ebb2ddaedc0c717d248d86d87d5 Mon Sep 17 00:00:00 2001 From: Visiky <736929286@qq.com> Date: Tue, 6 Apr 2021 14:18:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E7=9A=84=E9=94=99=E8=AF=AF=E6=8B=BC=E5=86=99?= =?UTF-8?q?=20(#3358)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/theme/style-sheet/dark.ts | 2 +- src/theme/util/create-by-style-sheet.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/theme/style-sheet/dark.ts b/src/theme/style-sheet/dark.ts index d9beb02953..13393661cc 100644 --- a/src/theme/style-sheet/dark.ts +++ b/src/theme/style-sheet/dark.ts @@ -176,7 +176,7 @@ export const createDarkStyleSheet = (cfg: StyleSheetCfg = {}) => { legendItemSpacing: 24, /** 图例项垂直方向的间隔 */ legendItemMarginBottom: 12, - /** 图例与图表绘图区域的便宜距离 */ + /** 图例与图表绘图区域的偏移距离 */ legendSpacing: 16, /** 图例与图表绘图区域的偏移距离 */ legendPadding: [8, 8, 8, 8], diff --git a/src/theme/util/create-by-style-sheet.ts b/src/theme/util/create-by-style-sheet.ts index 275026b2fb..79618cd3c3 100644 --- a/src/theme/util/create-by-style-sheet.ts +++ b/src/theme/util/create-by-style-sheet.ts @@ -1101,7 +1101,7 @@ export function createThemeByStyleSheet(styleSheet: StyleSheet): LooseObject { stroke: '#fff', shadowBlur: 10, shadowOffsetX: 0, - shadowOffSetY: 0, + shadowOffsetY: 0, shadowColor: 'rgba(0,0,0,0.09)', lineWidth: 2, r: 4,