Update utils.js
This commit is contained in:
parent
2a2026cbec
commit
87d3defcb7
1 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ function dartCalcBack(options, seatWaistDiff, nrOfDarts) {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
function dartCalc(options, seat, seatEase, waist, waistEase) {
|
function dartCalc(store, options, seat, seatEase, waist, waistEase) {
|
||||||
seat += seatEase
|
seat += seatEase
|
||||||
waist += waistEase
|
waist += waistEase
|
||||||
let seatWaistDiff = Math.max(seat - waist, 0)
|
let seatWaistDiff = Math.max(seat - waist, 0)
|
||||||
|
@ -90,9 +90,9 @@ function dartCalc(options, seat, seatEase, waist, waistEase) {
|
||||||
});
|
});
|
||||||
*/
|
*/
|
||||||
|
|
||||||
options.frontDartSize = frontDartSize
|
store.set('frontDartSize', frontDartSize )
|
||||||
options.backDartSize = backDartSize
|
store.set('backDartSize', backDartSize )
|
||||||
options.nrOfDarts = nrOfDarts
|
store.set('nrOfDarts', nrOfDarts )
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue