diff --git a/src/editor/core/draw/Draw.ts b/src/editor/core/draw/Draw.ts index 4c77789..fb4a2c4 100644 --- a/src/editor/core/draw/Draw.ts +++ b/src/editor/core/draw/Draw.ts @@ -1573,8 +1573,9 @@ export class Draw { i ) // 单词宽度大于行可用宽度,无需折行 - if (width <= availableWidth) { - curRowWidth += width + const wordWidth = width * scale + if (wordWidth <= availableWidth) { + curRowWidth += wordWidth nextElement = endElement } }