make delete menu option function

This commit is contained in:
Skyler Lehmkuhl 2024-12-06 01:07:48 -05:00
parent 9f549a9981
commit ab59209da5
1 changed files with 2 additions and 2 deletions

View File

@ -3152,8 +3152,8 @@ async function updateMenu() {
},
{
text: "Delete",
enabled: false,
action: () => {}
enabled: (context.selection.length > 0 || context.shapeselection.length > 0),
action: delete_action
},
]
});