Skip to content

Commit

Permalink
fix: a highlight null safe
Browse files Browse the repository at this point in the history
  • Loading branch information
qq15725 committed Nov 9, 2024
1 parent 8093a3f commit 90341bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export function highlight(): Plugin {
&& prevStyle?.highlightSize === style.highlightSize
&& prevStyle?.highlightStrokeWidth === style.highlightStrokeWidth
&& prevStyle?.highlightOverflow === style.highlightOverflow
&& group.length
&& group?.length
&& (
isVertical
? group[0].inlineBox.left === character.inlineBox.left
Expand Down

0 comments on commit 90341bd

Please sign in to comment.