@meta2d/form-diagram
Advanced tools
Comparing version 1.0.15 to 1.0.16
{ | ||
"name": "@meta2d/form-diagram", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "The form library based on le5le meta2d.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,2 +31,12 @@ var __values = (this && this.__values) || function(o) { | ||
} | ||
if (pen.data.length !== pen.rowPos.length) { | ||
pen.initWorldRect = null; | ||
pen.calculative.isUpdateData = true; | ||
pen.onValue(pen); | ||
} | ||
if (pen.data[0].length !== pen.colPos.length) { | ||
pen.initWorldRect = null; | ||
pen.calculative.isUpdateData = true; | ||
pen.onValue(pen); | ||
} | ||
var data = pen.calculative.canvas.store.data; | ||
@@ -121,5 +131,2 @@ var options = pen.calculative.canvas.store.options; | ||
var colStyle = {}; | ||
if (pen.initWorldRect) { | ||
return; | ||
} | ||
if (!pen.rowHeight) { | ||
@@ -180,2 +187,7 @@ pen.rowHeight = 40; | ||
} | ||
pen.calculative.maxOffsetY = | ||
(height - finalHight) / pen.calculative.canvas.store.data.scale; | ||
if (pen.initWorldRect) { | ||
return; | ||
} | ||
pen.colPos = colPos; | ||
@@ -192,4 +204,2 @@ pen.rowPos = rowPos; | ||
pen.calculative.height = finalHight || height; | ||
pen.calculative.maxOffsetY = | ||
(height - finalHight) / pen.calculative.canvas.store.data.scale; | ||
if (!pen.height) { | ||
@@ -196,0 +206,0 @@ pen.height = pen.calculative.height; |
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
173168
2407