Skip to content

Commit

Permalink
fix: fix issue with richtext merged
Browse files Browse the repository at this point in the history
  • Loading branch information
neuqzxy committed Dec 30, 2024
1 parent 848f3b1 commit 25030b1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/vrender-core/src/graphic/richtext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,11 +511,7 @@ export class RichText extends Graphic<IRichTextGraphicAttribute> implements IRic
}
} else {
for (let i = 0; i < paragraphs.length; i++) {
if (i === paragraphs.length - 1) {
wrapper.newLine = true;
}
wrapper.deal(paragraphs[i]);
wrapper.newLine = false;
}
}

Expand Down

0 comments on commit 25030b1

Please sign in to comment.