only apply minify to selection

This commit is contained in:
vcoppe
2026-05-21 20:27:22 +02:00
parent 9e2334ca83
commit 7361b54255
@@ -163,6 +163,9 @@ export class ReducedGPXLayerCollection {
reduce() {
let itemsAndPoints = new Map<ListItem, TrackPoint[]>();
this._simplified.forEach(([item, maxPts, points], itemFullId) => {
if (!get(selection).hasAnyParent(item)) {
return;
}
itemsAndPoints.set(
item,
points