mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-08 03:11:46 +08:00
fix: 多行文本高度问题
This commit is contained in:
parent
5bdd41159b
commit
7276380482
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user