@willcgage/module-schematic 0.28.0 → 0.28.1
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -202,8 +202,8 @@ function checkEndplateWidth(input) {
|
|
|
202
202
|
requiredInches: FREEMO_ENDPLATE_WIDTH_MIN_INCHES
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
|
-
const off = input.trackOffsetInches ?? 0;
|
|
206
|
-
const centres = input.config === "double" ? [off
|
|
205
|
+
const off = endplateTrackOffsetInches(input.trackOffsetInches, input.config ?? void 0);
|
|
206
|
+
const centres = input.config === "double" ? [off, off + FREEMO_TRACK_SPACING_INCHES] : [off];
|
|
207
207
|
const worst = Math.max(...centres.map((c) => Math.abs(c)));
|
|
208
208
|
const clearance = width / 2 - worst;
|
|
209
209
|
if (clearance < FREEMO_ENDPLATE_TRACK_FASCIA_CLEARANCE_INCHES) {
|