make delete menu option function
This commit is contained in:
parent
9f549a9981
commit
ab59209da5
|
|
@ -3152,8 +3152,8 @@ async function updateMenu() {
|
|||
},
|
||||
{
|
||||
text: "Delete",
|
||||
enabled: false,
|
||||
action: () => {}
|
||||
enabled: (context.selection.length > 0 || context.shapeselection.length > 0),
|
||||
action: delete_action
|
||||
},
|
||||
]
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue