Adds arrows, handles

This commit is contained in:
Steve Ruiz 2021-05-31 20:13:43 +01:00
parent facd9e9845
commit bcffee6458
27 changed files with 1120 additions and 292 deletions

View file

@ -8,7 +8,9 @@ import { getPage } from 'utils/utils'
export default function transformCommand(
data: Data,
before: TransformSnapshot,
after: TransformSnapshot
after: TransformSnapshot,
scaleX: number,
scaleY: number
) {
history.execute(
data,
@ -29,8 +31,8 @@ export default function transformCommand(
type,
initialShape,
transformOrigin,
scaleX: 1,
scaleY: 1,
scaleX,
scaleY,
})
}
},
@ -48,8 +50,8 @@ export default function transformCommand(
type,
initialShape,
transformOrigin,
scaleX: 1,
scaleY: 1,
scaleX,
scaleY,
})
}
},