Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
hitesh-1997 committed Jan 10, 2025
1 parent 414ac1f commit cd86320
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class DefaultDecorator implements AutoEditsDecorator {
if (addedLinesInfo) {
// Check if there are enough lines in the editor to render the diff decorations
if (
addedLinesInfo.startLine + addedLinesInfo.addedLinesDecorationInfo.length >=
addedLinesInfo.startLine + addedLinesInfo.addedLinesDecorationInfo.length >
this.editor.document.lineCount
) {
return false
Expand Down

0 comments on commit cd86320

Please sign in to comment.