make delete menu option function
This commit is contained in:
parent
9f549a9981
commit
ab59209da5
|
|
@ -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
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue