Update shape.js
This commit is contained in:
parent
3721e81f2f
commit
2a2026cbec
1 changed files with 4 additions and 4 deletions
|
@ -26,12 +26,12 @@ function BuildMainShape(part, frontPart) {
|
||||||
let waist = measurements.waist
|
let waist = measurements.waist
|
||||||
let seat = measurements.seat > waist ? measurements.seat : 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 nrOfDarts = store.get('nrOfDarts')
|
||||||
let dartSize = options.frontDartSize
|
let dartSize = store.get('frontDartSize')
|
||||||
if (frontPart == false) {
|
if (frontPart == false) {
|
||||||
dartSize = options.backDartSize
|
dartSize = store.get('backDartSize')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dartSize <= 0) {
|
if (dartSize <= 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue