1
0
Fork 0

Update shape.js

This commit is contained in:
Wouter van Wageningen 2021-02-14 18:09:35 -08:00 committed by GitHub
parent 3721e81f2f
commit 2a2026cbec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,12 +26,12 @@ function BuildMainShape(part, frontPart) {
let waist = measurements.waist
let seat = measurements.seat > waist ? measurements.seat : waist
dartCalc(options, seat, seatEase, waist, waistEase)
dartCalc(store, options, seat, seatEase, waist, waistEase)
let nrOfDarts = options.nrOfDarts
let dartSize = options.frontDartSize
let nrOfDarts = store.get('nrOfDarts')
let dartSize = store.get('frontDartSize')
if (frontPart == false) {
dartSize = options.backDartSize
dartSize = store.get('backDartSize')
}
if (dartSize <= 0) {