feat(shortcut): area
This commit is contained in:
@@ -688,7 +688,7 @@ const clearPathParentGroupMetadata = (
|
||||
return changed
|
||||
}
|
||||
|
||||
const syncDeletedPathGroupState = ({
|
||||
export const syncDeletedPathGroupState = ({
|
||||
imageId,
|
||||
removedPathIds,
|
||||
removedParentGroupIds,
|
||||
@@ -866,6 +866,17 @@ const cleanupDeletedObjectItems = (
|
||||
syncSelectedObjectsVisualState(imageId)
|
||||
}
|
||||
|
||||
export const removePaperObjectById = (
|
||||
imageId: string,
|
||||
pathId?: number,
|
||||
parentGroupId?: number,
|
||||
options: {
|
||||
pushState?: boolean
|
||||
} = {}
|
||||
) => {
|
||||
cleanupDeletedObjectItems(imageId, pathId, parentGroupId, options)
|
||||
}
|
||||
|
||||
const handleShift = (flag: boolean) => {
|
||||
useKeyEventStore.getState().setShift(flag)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user