Move processing split from gpx layer
This commit is contained in:
parent
4fac998ac9
commit
e77237dce8
2 changed files with 1 additions and 1 deletions
|
@ -451,6 +451,7 @@ public class GpxSelectionHelper {
|
||||||
ar.put(obj);
|
ar.put(obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
processSplit();
|
||||||
app.getSettings().SELECTED_GPX.set(ar.toString());
|
app.getSettings().SELECTED_GPX.set(ar.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -193,7 +193,6 @@ public class GPXLayer extends OsmandMapLayer implements ContextMenuLayer.IContex
|
||||||
cache.clear();
|
cache.clear();
|
||||||
currentTrackColor = view.getSettings().CURRENT_TRACK_COLOR.get();
|
currentTrackColor = view.getSettings().CURRENT_TRACK_COLOR.get();
|
||||||
if (!selectedGPXFiles.isEmpty()) {
|
if (!selectedGPXFiles.isEmpty()) {
|
||||||
selectedGpxHelper.processSplit();
|
|
||||||
drawSelectedFilesSegments(canvas, tileBox, selectedGPXFiles, settings);
|
drawSelectedFilesSegments(canvas, tileBox, selectedGPXFiles, settings);
|
||||||
canvas.rotate(-tileBox.getRotate(), tileBox.getCenterPixelX(), tileBox.getCenterPixelY());
|
canvas.rotate(-tileBox.getRotate(), tileBox.getCenterPixelX(), tileBox.getCenterPixelY());
|
||||||
if (trackChartPoints != null) {
|
if (trackChartPoints != null) {
|
||||||
|
|
Loading…
Reference in a new issue