From b51961bfe5917339d2e47a9a347f39b05cd28c96 Mon Sep 17 00:00:00 2001 From: vcoppe Date: Wed, 17 Jul 2024 23:22:36 +0200 Subject: [PATCH] fix reverse tool --- gpx/src/gpx.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gpx/src/gpx.ts b/gpx/src/gpx.ts index 1026c7cd..96382b99 100644 --- a/gpx/src/gpx.ts +++ b/gpx/src/gpx.ts @@ -84,14 +84,6 @@ abstract class GPXTreeNode> 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); - } } }