From 54c44a04436e4f81ee1c9bcfc2c1203f9beab284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=BA=91=E9=A3=9E?= Date: Mon, 22 Nov 2021 16:46:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=A6=96=E5=AD=97=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/editor/core/draw/Draw.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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