wip(core): Work on stack-based layouts
This commit is contained in:
parent
7ac5a88dff
commit
1c442ad580
8 changed files with 139 additions and 105 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue