big cleanup

This commit is contained in:
Steve Ruiz 2021-06-21 22:35:28 +01:00
parent daa44f9911
commit 864ded959a
161 changed files with 2918 additions and 5749 deletions

View file

@ -7,10 +7,13 @@ import {
getSelectedIds,
setToArray,
} from 'utils/utils'
import { getShapeUtils } from 'lib/shape-utils'
import { getShapeUtils } from 'state/shape-utils'
import { current } from 'immer'
export default function styleCommand(data: Data, styles: Partial<ShapeStyles>) {
export default function styleCommand(
data: Data,
styles: Partial<ShapeStyles>
): void {
const cData = current(data)
const page = getPage(cData)
const { currentPageId } = cData