Try to fix slope chart
This commit is contained in:
parent
1232006afc
commit
d68606bd5d
1 changed files with 1 additions and 1 deletions
|
@ -1440,7 +1440,7 @@ public class GpxUiHelper {
|
||||||
calculatedH[k] = ph + (values.get(nextW).getY() - ph) / (values.get(nextW).getX() - pd) * (calculatedDist[k] - pd);
|
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 (totalDistance - SLOPE_PROXIMITY < 0) {
|
||||||
if (useRightAxis) {
|
if (useRightAxis) {
|
||||||
|
|
Loading…
Reference in a new issue