mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-16 16:30:00 +00:00
scissor tool
This commit is contained in:
1 parent
287fd4c8ac
commit
14a81a530c
16 files changed
+428
-89
No files matched your search
@@ -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];
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user