biscuitboard 1.0.19 → 1.0.21
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/README.md +6 -4
- package/dist/npm.cjs +4 -0
- package/dist/npm.cjs.map +1 -1
- package/dist/npm.js +4 -0
- package/dist/npm.js.map +1 -1
- package/package.json +2 -2
package/dist/npm.js
CHANGED
|
@@ -11728,6 +11728,10 @@ var createParallelConsolidationCandidate = (prepared, solution, traceIndex, rout
|
|
|
11728
11728
|
if (offset <= EPSILON3 || overlapLength <= 2 * offset + EPSILON3) {
|
|
11729
11729
|
return null;
|
|
11730
11730
|
}
|
|
11731
|
+
const combinedHalfWidth = (segment.start.width + anchor.start.width) / 2;
|
|
11732
|
+
if (offset <= combinedHalfWidth + EPSILON3) {
|
|
11733
|
+
return null;
|
|
11734
|
+
}
|
|
11731
11735
|
const followsAnchorDirection = segmentEndProjection > segmentStartProjection;
|
|
11732
11736
|
const entryProjection = followsAnchorDirection ? overlapStart : overlapEnd;
|
|
11733
11737
|
const exitProjection = followsAnchorDirection ? overlapEnd : overlapStart;
|