1
0
Fork 0

chore(jaeger): Ported jaeger to new measurements. See #416

This commit is contained in:
Joost De Cock 2020-06-07 13:41:01 +02:00
parent 94f8c8fd3c
commit 09add24e03
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
/**
* This calculates a bunch of helper variables and stores them
*/
export const calculateRatios = part => {
export const calculateRatios = (part) => {
let { store, measurements, options } = part.shorthand()
// Make sure collar height makes sense
@ -10,7 +10,7 @@ export const calculateRatios = part => {
// Calculate different values for reducing from chest to hips via waist
store.set('chest', measurements.chestCircumference * (1 + options.chestEase))
store.set('waist', measurements.naturalWaist * (1 + options.waistEase))
store.set('waist', measurements.waistCircumference * (1 + options.waistEase))
store.set('hips', measurements.hipsCircumference * (1 + options.hipsEase))
store.set('waistReduction', store.get('chest') - store.get('waist'))