mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-08 20:01:47 +08:00
fix: 多行文本高度问题
This commit is contained in:
parent
5bdd41159b
commit
7276380482
@ -1021,7 +1021,7 @@ export class TextContentParser {
|
|||||||
this.blocks.forEach(v => {
|
this.blocks.forEach(v => {
|
||||||
if (v.type !== TextContentType.Wait) {
|
if (v.type !== TextContentType.Wait) {
|
||||||
width += v.width;
|
width += v.width;
|
||||||
height = v.height;
|
if (v.height > height) height = v.height;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const line: ITextContentLine = {
|
const line: ITextContentLine = {
|
||||||
|
Loading…
Reference in New Issue
Block a user