|
|
|
|
|
|
42
|
const hasMultipleSelectionSelector = (s: Data) => s.pageState.selectedIds.length > 1
|
42
|
const hasMultipleSelectionSelector = (s: Data) => s.pageState.selectedIds.length > 1
|
|
43
|
|
43
|
|
|
44
|
export const ShapesFunctions = React.memo(() => {
|
44
|
export const ShapesFunctions = React.memo(() => {
|
|
45
|
- const ok = useTLDrawContext()
|
|
|
|
46
|
- console.log(ok)
|
|
|
|
47
|
const { tlstate, useSelector } = useTLDrawContext()
|
45
|
const { tlstate, useSelector } = useTLDrawContext()
|
|
48
|
|
46
|
|
|
49
|
const isAllLocked = useSelector(isAllLockedSelector)
|
47
|
const isAllLocked = useSelector(isAllLockedSelector)
|