delete any selection

This commit is contained in:
vcoppe
2024-05-23 16:35:20 +02:00
parent d8fa8500da
commit 9626a71515
4 changed files with 97 additions and 49 deletions

View File

@@ -80,6 +80,10 @@ export class SelectionTreeType {
return this.children[id];
}
deleteChild(id: string | number) {
delete this.children[id];
}
get size(): number {
let size = this.selected ? 1 : 0;
for (let key in this.children) {