diff --git a/src/editor/core/draw/Draw.ts b/src/editor/core/draw/Draw.ts index c534314..3029e46 100644 --- a/src/editor/core/draw/Draw.ts +++ b/src/editor/core/draw/Draw.ts @@ -223,7 +223,7 @@ export class Draw { if (curRow.width + metrics.width > innerWidth || (i !== 0 && element.value === ZERO)) { rowList.push({ width: metrics.width, - height: this.options.defaultSize, + height, elementList: [rowElement], ascent, rowFlex: rowElement.rowFlex