fix:首字高度默认值

pr675
黄云飞 4 years ago
parent 99f8589033
commit 54c44a0443

@ -223,7 +223,7 @@ export class Draw {
if (curRow.width + metrics.width > innerWidth || (i !== 0 && element.value === ZERO)) { if (curRow.width + metrics.width > innerWidth || (i !== 0 && element.value === ZERO)) {
rowList.push({ rowList.push({
width: metrics.width, width: metrics.width,
height: this.options.defaultSize, height,
elementList: [rowElement], elementList: [rowElement],
ascent, ascent,
rowFlex: rowElement.rowFlex rowFlex: rowElement.rowFlex

Loading…
Cancel
Save