Change plane color if we have not seen a recent position update
(previously, any type of message was enough).
This commit is contained in:
parent
55a10e6685
commit
0b5aac47c4
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -2,6 +2,8 @@ dump1090-mutability (1.10.3010.14mu-11) UNRELEASED; urgency=medium
|
|||
|
||||
* Fix UTC clock display in non-UTC timezones.
|
||||
* Layout tweaks in the info panel.
|
||||
* Change plane color if we have not seen a recent position update
|
||||
(previously, any type of message was enough).
|
||||
|
||||
-- Oliver Jowett <oliver@mutability.co.uk> Sun, 11 Jan 2015 11:53:48 +0000
|
||||
|
||||
|
|
|
@ -189,8 +189,8 @@ PlaneObject.prototype.updateIcon = function() {
|
|||
if (this.selected)
|
||||
col = SelectedColor;
|
||||
|
||||
// If we have not seen a recent update, change color
|
||||
if (this.seen > 15)
|
||||
// If we have not seen a recent position update, change color
|
||||
if (this.seen_pos > 15)
|
||||
col = StaleColor;
|
||||
|
||||
// If the squawk code is one of the international emergency codes,
|
||||
|
|
Loading…
Reference in a new issue