Skip to content

Commit c0e898a

Browse files
fix precision causing clipping in altitude profile
1 parent 661d2ac commit c0e898a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/tracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ function drawAltitudeProfile(c1, c2, series, alt_max) {
977977
// if they are too many, downsample to keep the loop short
978978
else {
979979
xt1 = 0.5;
980-
xt2 = 0.16666666666;
980+
xt2 = 0.16;
981981
var max = cw1 * 2;
982982
var step = (1.0*len) / max;
983983

0 commit comments

Comments
 (0)