Skip to content

Commit

Permalink
fix(textDecoration): 修改配置中的showTextDecoratin选项的默认值
Browse files Browse the repository at this point in the history
  • Loading branch information
czfadmin committed May 16, 2024
1 parent 50f9dc1 commit 6cc2de6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cuddly-ghosts-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'bookmark-manager': patch
---

fix(textDecoration): 修改配置中的showTextDecoratin选项的默认值
3 changes: 2 additions & 1 deletion src/stores/decoration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 6cc2de6

Please sign in to comment.