fix reverse tool

This commit is contained in:
vcoppe
2024-07-17 23:22:36 +02:00
parent c8a8ff70b2
commit b51961bfe5

View File

@@ -84,14 +84,6 @@ abstract class GPXTreeNode<T extends GPXTreeElement<any>> extends GPXTreeElement
originalNextTimestamp = originalStartTimestamp;
newPreviousTimestamp = this.children[i].getEndTimestamp();
}
if (this instanceof GPXFile) {
// @ts-ignore
this.trk = freeze(children);
} else if (this instanceof Track) {
// @ts-ignore
this.trkseg = freeze(children);
}
}
}