add sketch item poly outlines, allow for deletion

This commit is contained in:
Stewart Allen 2024-07-25 14:48:36 -04:00
commit 67d6ff5726
4 changed files with 57 additions and 12 deletions

View file

@ -130,7 +130,11 @@ const selection = {
// remove all
delete() {
for (let s of selection.list(true)) {
let list = selection.list(true);
if (list[0].type === 'sketch' && list[0].delete_selected()) {
return;
}
for (let s of list) {
selection.remove(s);
tools.remove(s);
s.showBounds(false);