fix:设置元素最小高度

This commit is contained in:
黄云飞
2021-11-14 10:25:50 +08:00
parent ac1a072bf9
commit b532c94438
+1 -1
View File
@@ -111,7 +111,7 @@ export class Draw {
if (curRow.width + width > rightTopPoint[0] - leftTopPoint[0] || (i !== 0 && element.value === ZERO)) {
rowList.push({
width,
height: 0,
height: this.options.defaultSize,
elementList: [lineText],
ascent: fontBoundingBoxAscent
})