1
0
Fork 0

Merge branch 'v3-stacks' into develop

This commit is contained in:
Joost De Cock 2022-09-14 13:24:38 +02:00
commit 8cc4c588ff
13 changed files with 442 additions and 137 deletions

View file

@ -361,8 +361,8 @@ export function pctBasedOn(measurement) {
}
}
/** Generates the transform attributes needed for a given part */
export const generatePartTransform = (x, y, rotate, flipX, flipY, part) => {
/** Generates the transform attributes needed for a given stack */
export const generateStackTransform = (x, y, rotate, flipX, flipY, part) => {
const transforms = []
let xTotal = x || 0
let yTotal = y || 0