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