scissor tool

This commit is contained in:
vcoppe
2024-06-10 20:03:57 +02:00
parent 287fd4c8ac
commit 14a81a530c
16 changed files with 428 additions and 89 deletions

View File

@@ -129,8 +129,10 @@ export class SelectionTreeType {
}
deleteChild(id: string | number) {
this.size -= this.children[id].size;
delete this.children[id];
if (this.children.hasOwnProperty(id)) {
this.size -= this.children[id].size;
delete this.children[id];
}
}
};