Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
glushchenko committed Jul 22, 2023
1 parent 231fbed commit 8d08589
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ extension NSMutableAttributedString {

let color = UserDataService.instance.isDark ? NSColor.white : NSColor.black
addAttribute(.strikethroughColor, value: color, range: parRange)
addAttribute(.strikethroughStyle, value: 1, range: parRange)

replaceCharacters(in: range, with: checked)
}
Expand Down

0 comments on commit 8d08589

Please sign in to comment.