1
0
Fork 0

Update sleeve.js (#254)

Correct typo of 2 of the FrenchCuff options cuffStyle as per : https://github.com/freesewing/freesewing/issues/253
This commit is contained in:
grimlokason 2020-01-07 14:57:41 +01:00 committed by Joost De Cock
parent 91176c23ad
commit 7a03ea9f7b

View file

@ -25,8 +25,8 @@ export default part => {
// Sleeve width depends on cuff style
let width = measurements.wristCircumference * (1 + options.cuffEase + options.cuffOverlap)
if (
options.cuffStyle === 'straightFrenchcuff' ||
options.cuffStyle === 'roundedFrenchcuff' ||
options.cuffStyle === 'straightFrenchCuff' ||
options.cuffStyle === 'roundedFrenchCuff' ||
options.cuffStyle === 'angledFrenchCuff'
)
width = measurements.wristCircumference * (1 + options.cuffEase + options.cuffOverlap * 1.5)