@meta2d/form-diagram
Advanced tools
Comparing version 1.0.20 to 1.0.21
{ | ||
"name": "@meta2d/form-diagram", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"description": "The form library based on le5le meta2d.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -746,2 +746,5 @@ var __values = (this && this.__values) || function(o) { | ||
var e_2, _a, e_3, _b; | ||
if (!(children && children.length)) { | ||
return; | ||
} | ||
var scaleX = pen.calculative.worldRect.width / pen.tableWidth; | ||
@@ -815,4 +818,4 @@ var scaleY = pen.calculative.worldRect.height / pen.tableHeight; | ||
children.forEach(function (item) { | ||
item.width = item.width * resizeX / scale; | ||
item.height = item.height * resizeY / scale; | ||
item.width = item.width * resizeX; | ||
item.height = item.height * resizeY; | ||
}); | ||
@@ -880,4 +883,5 @@ } | ||
} | ||
if (value.data || value.styles || value.maxNum) { | ||
if (value.data || value.styles || value.maxNum || value.rowHeight || value.colWidth) { | ||
pen.calculative.isUpdateData = true; | ||
pen.initWorldRect = null; | ||
} | ||
@@ -884,0 +888,0 @@ try { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
374326
5122