Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
3d7baaf839
1 changed files with 6 additions and 0 deletions
|
@ -1373,6 +1373,9 @@ public class GpxUiHelper {
|
|||
}
|
||||
|
||||
if (values == null) {
|
||||
if (useRightAxis) {
|
||||
yAxis.setEnabled(false);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -1398,6 +1401,9 @@ public class GpxUiHelper {
|
|||
double SLOPE_PROXIMITY = 150;
|
||||
|
||||
if (totalDistance - SLOPE_PROXIMITY < 0) {
|
||||
if (useRightAxis) {
|
||||
yAxis.setEnabled(false);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue