Make altitude column indicator consistent with the detailed info.
This commit is contained in:
parent
09c50fff4d
commit
3fd2032f49
|
@ -514,9 +514,9 @@ function format_altitude_brief(alt, vr) {
|
||||||
else
|
else
|
||||||
alt_text = Math.round(alt) + NBSP;
|
alt_text = Math.round(alt) + NBSP;
|
||||||
|
|
||||||
if (vr > 100)
|
if (vr > 128)
|
||||||
return alt_text + UP_TRIANGLE;
|
return alt_text + UP_TRIANGLE;
|
||||||
else if (vr < -100)
|
else if (vr < -128)
|
||||||
return alt_text + DOWN_TRIANGLE;
|
return alt_text + DOWN_TRIANGLE;
|
||||||
else
|
else
|
||||||
return alt_text + NBSP;
|
return alt_text + NBSP;
|
||||||
|
|
Loading…
Reference in a new issue