@rotorsoft/act-diagram 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1569,7 +1569,7 @@ function computeLayout(viewModel) {
1569
1569
  bbox.maxX = Math.max(bbox.maxX, n.pos.x + nw);
1570
1570
  bbox.maxY = Math.max(bbox.maxY, n.pos.y + nh);
1571
1571
  }
1572
- if (!isFinite(bbox.minY)) {
1572
+ if (!Number.isFinite(bbox.minY)) {
1573
1573
  bbox.minX = sx;
1574
1574
  bbox.minY = 0;
1575
1575
  bbox.maxX = sx + W;