From 6cc2de6bf3b782df73cd1854451bfc1f74c41813 Mon Sep 17 00:00:00 2001 From: abchen Date: Thu, 16 May 2024 21:10:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(textDecoration):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=AD=E7=9A=84showTextDecoratin=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E7=9A=84=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/cuddly-ghosts-jog.md | 5 +++++ src/stores/decoration.ts | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/cuddly-ghosts-jog.md diff --git a/.changeset/cuddly-ghosts-jog.md b/.changeset/cuddly-ghosts-jog.md new file mode 100644 index 0000000..d48397c --- /dev/null +++ b/.changeset/cuddly-ghosts-jog.md @@ -0,0 +1,5 @@ +--- +'bookmark-manager': patch +--- + +fix(textDecoration): 修改配置中的showTextDecoratin选项的默认值 diff --git a/src/stores/decoration.ts b/src/stores/decoration.ts index deb00be..a42f5b3 100644 --- a/src/stores/decoration.ts +++ b/src/stores/decoration.ts @@ -75,7 +75,8 @@ export const CreateDecorationOptionsModel = types configuration.get('showGutterInOverviewRuler') || false; self.alwaysUseDefaultColor = configuration.get('alwaysUseDefaultColor') || false; - self.showTextDecoration = configuration.get('showTextDecoration') || true; + self.showTextDecoration = + configuration.get('showTextDecoration') || false; self.fontWeight = configuration.get('fontWeight') || 'bold'; self.wholeLine = configuration.get('wholeLine') || false; self.textDecorationLine =