pict-section-flow 0.0.9 → 0.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pict-section-flow",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Pict Section Flow Diagram",
5
5
  "main": "source/Pict-Section-Flow.js",
6
6
  "scripts": {
@@ -265,7 +265,7 @@ class PictProviderFlowGeometry extends libFableServiceProviderBase
265
265
  // Need: lastPortY + badgeHalfHeight <= H - bottomPad
266
266
  // Solving for H:
267
267
  // H >= titleBar + bottomPad + (minSpacing * count + badgeHalfHeight) / (1 - zone.start)
268
- let tmpRequired = pTitleBarHeight + tmpBottomPad + (tmpMinSpacing * tmpCount + tmpBadgeHalfHeight) / (1 - tmpZone.start);
268
+ let tmpRequired = pTitleBarHeight + tmpBottomPad + (tmpMinSpacing * tmpCount + tmpBadgeHalfHeight) / (tmpZone.end - tmpZone.start);
269
269
 
270
270
  if (tmpRequired > tmpMinHeight)
271
271
  {