1
0
Fork 0

chore(carlton) Removed circumference suffix from measurements

This commit is contained in:
Joost De Cock 2020-06-30 15:10:04 +02:00
parent 15a078e8f1
commit e6d1b7e97c
5 changed files with 14 additions and 17 deletions

View file

@ -5,10 +5,10 @@ export const calculateRatios = (part) => {
let { store, measurements, options } = part.shorthand()
// Calculate different values for reducing from chest to hips via waist
store.set('chest', measurements.chestCircumference * (1 + options.chestEase))
store.set('waist', measurements.waistCircumference * (1 + options.waistEase))
store.set('hips', measurements.hipsCircumference * (1 + options.hipsEase))
store.set('seat', measurements.seatCircumference * (1 + options.seatEase))
store.set('chest', measurements.chest * (1 + options.chestEase))
store.set('waist', measurements.waist * (1 + options.waistEase))
store.set('hips', measurements.hips * (1 + options.hipsEase))
store.set('seat', measurements.seat * (1 + options.seatEase))
store.set('waistReduction', store.get('chest') - store.get('waist'))
store.set('hipsReduction', store.get('chest') - store.get('hips'))