big cleanup
This commit is contained in:
parent
daa44f9911
commit
864ded959a
161 changed files with 2918 additions and 5749 deletions
|
@ -3,9 +3,9 @@ import history from '../history'
|
|||
import { Data } from 'types'
|
||||
import { getPage, getSelectedShapes, updateParents } from 'utils/utils'
|
||||
import { current } from 'immer'
|
||||
import { getShapeUtils } from 'lib/shape-utils'
|
||||
import { getShapeUtils } from 'state/shape-utils'
|
||||
|
||||
export default function resetBoundsCommand(data: Data) {
|
||||
export default function resetBoundsCommand(data: Data): void {
|
||||
const initialShapes = Object.fromEntries(
|
||||
getSelectedShapes(current(data)).map((shape) => [shape.id, shape])
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue