mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 23:53:25 +00:00
fix reverse tool
This commit is contained in:
@@ -84,14 +84,6 @@ abstract class GPXTreeNode<T extends GPXTreeElement<any>> extends GPXTreeElement
|
|||||||
originalNextTimestamp = originalStartTimestamp;
|
originalNextTimestamp = originalStartTimestamp;
|
||||||
newPreviousTimestamp = this.children[i].getEndTimestamp();
|
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user