mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-05-26 18:15:10 +00:00
only apply minify to selection
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user