1
0
Fork 0

Merge pull request #6731 from Thrunic/onyx

[Onyx] Fixes issue #6721
This commit is contained in:
Joost De Cock 2024-05-11 16:57:17 +02:00 committed by GitHub
commit fae01b2f0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -349,7 +349,8 @@ export const base = {
pct: 200, pct: 200,
min: 0, min: 0,
max: 800, max: 800,
toAbs: (pct, settings, mergedOptions) => settings.sa * mergedOptions.legHem, toAbs: (pct, settings, mergedOptions) =>
settings.sa ? settings.sa * mergedOptions.legHem : 0,
menu: (settings, mergedOptions) => (mergedOptions.legRibbing ? false : 'construction'), menu: (settings, mergedOptions) => (mergedOptions.legRibbing ? false : 'construction'),
}, },
// How wide the scoop to each side of the crotch sweeps (excluding the gusset, as a % of the verticalTrunk. // How wide the scoop to each side of the crotch sweeps (excluding the gusset, as a % of the verticalTrunk.
@ -396,7 +397,8 @@ export const base = {
pct: 200, pct: 200,
min: 0, min: 0,
max: 800, max: 800,
toAbs: (pct, settings, mergedOptions) => settings.sa * mergedOptions.skirtWaistband, toAbs: (pct, settings, mergedOptions) =>
settings.sa ? settings.sa * mergedOptions.skirtWaistband : 0,
menu: (settings, mergedOptions) => (mergedOptions.skirt ? 'construction' : false), menu: (settings, mergedOptions) => (mergedOptions.skirt ? 'construction' : false),
}, },
// How wide to make the bottom hem, in multiples of the seam allowance. // How wide to make the bottom hem, in multiples of the seam allowance.
@ -404,7 +406,8 @@ export const base = {
pct: 200, pct: 200,
min: 0, min: 0,
max: 800, max: 800,
toAbs: (pct, settings, mergedOptions) => settings.sa * mergedOptions.skirtHem, toAbs: (pct, settings, mergedOptions) =>
settings.sa ? settings.sa * mergedOptions.skirtHem : 0,
menu: (settings, mergedOptions) => (mergedOptions.skirt ? 'construction' : false), menu: (settings, mergedOptions) => (mergedOptions.skirt ? 'construction' : false),
}, },
// How wide the sleeve ribbing should be, in absolute measure. // How wide the sleeve ribbing should be, in absolute measure.