1
0
Fork 0

🎨 Updated prettier config

This commit is contained in:
Joost De Cock 2019-08-03 15:03:33 +02:00
parent b8e632998b
commit 6710d76b08
401 changed files with 13193 additions and 15620 deletions

View file

@ -2,14 +2,14 @@
* This calculates a bunch of helper variables and stores them
*/
export const calculateRatios = part => {
let { store, measurements, options } = part.shorthand();
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.naturalWaist * (1 + options.waistEase));
store.set("hips", measurements.hipsCircumference * (1 + options.hipsEase));
store.set("seat", measurements.seatCircumference * (1 + options.seatEase));
store.set('chest', measurements.chestCircumference * (1 + options.chestEase))
store.set('waist', measurements.naturalWaist * (1 + options.waistEase))
store.set('hips', measurements.hipsCircumference * (1 + options.hipsEase))
store.set('seat', measurements.seatCircumference * (1 + options.seatEase))
store.set("waistReduction", store.get("chest") - store.get("waist"));
store.set("hipsReduction", store.get("chest") - store.get("hips"));
};
store.set('waistReduction', store.get('chest') - store.get('waist'))
store.set('hipsReduction', store.get('chest') - store.get('hips'))
}