fix reverse tool
This commit is contained in:
parent
c8a8ff70b2
commit
b51961bfe5
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user