1
0
Fork 0

fix(wahid): Hide inherited options that were inadvertently exposed during port to v3

This commit is contained in:
Benjamin F 2023-04-30 08:16:49 -07:00
parent 0e0fc6b282
commit 2ddf8c72dd
2 changed files with 26 additions and 0 deletions

View file

@ -22,6 +22,14 @@ import {
lengthBonus,
acrossBackFactor,
frontArmholeDeeper,
bicepsEase,
collarEase,
cuffEase,
shoulderEase,
s3Collar,
s3Armhole,
shoulderSlopeReduction,
backNeckCutout,
} from './options.mjs'
function wahidFront({
@ -517,6 +525,14 @@ export const front = {
lengthBonus,
acrossBackFactor,
frontArmholeDeeper,
bicepsEase,
collarEase,
cuffEase,
shoulderEase,
s3Collar,
s3Armhole,
shoulderSlopeReduction,
backNeckCutout,
},
draft: wahidFront,
}

View file

@ -26,3 +26,13 @@ export const frontInset = { pct: 15, min: 10, max: 20, menu: 'advanced' }
export const shoulderInset = { pct: 10, min: 0, max: 20, menu: 'advanced' }
export const neckInset = { pct: 5, min: 0, max: 10, menu: 'advanced' }
export const pocketAngle = { deg: 5, min: 0, max: 5, menu: 'advanced' }
// Hide inherited options
export const bicepsEase = { pct: 15, min: 0, max: 50, menu: false }
export const collarEase = { pct: 5, min: 0, max: 10, menu: false }
export const cuffEase = { pct: 20, min: 0, max: 200, menu: false }
export const shoulderEase = { pct: 0, min: -2, max: 6, menu: false }
export const s3Armhole = { pct: 0, min: -100, max: 100, menu: false }
export const s3Collar = { pct: 0, min: -100, max: 100, menu: false }
export const shoulderSlopeReduction = { pct: 0, min: 0, max: 80, menu: false }
export const backNeckCutout = { pct: 5, min: -2, max: 8, menu: false }