fix: 多行文本高度问题

This commit is contained in:
unanmed 2025-09-28 16:08:22 +08:00
parent 5bdd41159b
commit 7276380482

View File

@ -1021,7 +1021,7 @@ export class TextContentParser {
this.blocks.forEach(v => {
if (v.type !== TextContentType.Wait) {
width += v.width;
height = v.height;
if (v.height > height) height = v.height;
}
});
const line: ITextContentLine = {