Try to fix slope chart

This commit is contained in:
Alexey Kulish 2017-10-11 19:12:53 +03:00
parent 1232006afc
commit d68606bd5d

View file

@ -1440,7 +1440,7 @@ public class GpxUiHelper {
calculatedH[k] = ph + (values.get(nextW).getY() - ph) / (values.get(nextW).getX() - pd) * (calculatedDist[k] - pd);
}
double SLOPE_PROXIMITY = 150;
double SLOPE_PROXIMITY = 100;
if (totalDistance - SLOPE_PROXIMITY < 0) {
if (useRightAxis) {