fix: update punctuation width when scaling the page #712

npr765
Hufe921 2 years ago
parent d939aa35ba
commit 83cb479131

@ -1580,10 +1580,11 @@ export class Draw {
} }
} }
// 标点符号 // 标点符号
curRowWidth += this.textParticle.measurePunctuationWidth( const punctuationWidth = this.textParticle.measurePunctuationWidth(
ctx, ctx,
nextElement nextElement
) )
curRowWidth += punctuationWidth * scale
} }
} }
// 列表信息 // 列表信息

Loading…
Cancel
Save