forked from upstream-mirrors/OpenTracks
Bugfix: ChartFragment needs to show elevation in M/FT.
This commit is contained in:
@@ -993,7 +993,7 @@ public class ChartView extends View {
|
||||
|
||||
private double getMarkerXValue(Marker marker) {
|
||||
if (chartByDistance) {
|
||||
return marker.getLength().to(metricUnits);
|
||||
return marker.getLength().toKM_Miles(metricUnits);
|
||||
} else {
|
||||
return marker.getDuration().toMillis();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user