Fix pace chart
This commit is contained in:
parent
cda8c44074
commit
151416e4b6
1 changed files with 1 additions and 1 deletions
|
@ -1252,7 +1252,7 @@ public class GpxUiHelper {
|
|||
} else {
|
||||
nextY = divSpeed / s.speed;
|
||||
}
|
||||
if (nextY < 0) {
|
||||
if (nextY < 0 || Float.isInfinite(nextY)) {
|
||||
nextY = 0;
|
||||
}
|
||||
values.add(new Entry(nextX, nextY));
|
||||
|
|
Loading…
Reference in a new issue