fix:首字高度默认值
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user