Change plane color if we have not seen a recent position update

(previously, any type of message was enough).
This commit is contained in:
Oliver Jowett 2015-01-11 12:15:54 +00:00
parent 55a10e6685
commit 0b5aac47c4
2 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View file

@ -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

View file

@ -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,