Update GPXLayer.java

This commit is contained in:
vshcherb 2020-06-16 12:05:54 +02:00 committed by GitHub
parent f6052c62be
commit abb98a9406
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -614,7 +614,7 @@ public class GPXLayer extends OsmandMapLayer implements ContextMenuLayer.IContex
boolean track = false; boolean track = false;
List<TrkSegment> segments = selectedGpxFile.getPointsToDisplay(); List<TrkSegment> segments = selectedGpxFile.getPointsToDisplay();
for (TrkSegment segment : segments) { for (TrkSegment segment : segments) {
track |= track(tb, segment.points, (int) (r * TOUCH_RADIUS_MULTIPLIER), mx, my); track |= track(tb, segment.points, (int) r, mx, my);
} }
if (track) { if (track) {
res.add(selectedGpxFile); res.add(selectedGpxFile);