mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 15:43:25 +00:00
delete any selection
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user