mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
This reverts commit 16263e942b
.
This commit is contained in:
parent
16263e942b
commit
3d2e59bfed
19 changed files with 130 additions and 789 deletions
|
@ -4,10 +4,9 @@ import { KEYS } from "../keys";
|
|||
|
||||
export const actionDeleteSelected: Action = {
|
||||
name: "deleteSelectedElements",
|
||||
perform: (elements, appState) => {
|
||||
perform: elements => {
|
||||
return {
|
||||
elements: deleteSelectedElements(elements),
|
||||
appState: { ...appState, elementType: "selection", multiElement: null },
|
||||
};
|
||||
},
|
||||
contextItemLabel: "labels.delete",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue