diff --git a/public_html/planeObject.js b/public_html/planeObject.js index a6ea20c..8121525 100644 --- a/public_html/planeObject.js +++ b/public_html/planeObject.js @@ -305,7 +305,7 @@ PlaneObject.prototype.updateIcon = function() { var opacity = (this.position_from_mlat ? 0.75 : 1.0); var outline = (this.position_from_mlat ? OutlineMlatColor : OutlineADSBColor); var baseMarker = getBaseMarker(this.category, this.icaotype, this.typeDescription, this.wtc); - var weight = ((this.selected ? 2 : 1) / baseMarker.scale).toFixed(1); + var weight = ((this.selected && !SelectedAllPlanes ? 2 : 1) / baseMarker.scale).toFixed(1); var rotation = (this.track === null ? 0 : this.track); var transparentBorderWidth = (32 / baseMarker.scale).toFixed(1); diff --git a/public_html/script.js b/public_html/script.js index 1261b31..ab13ec5 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -1064,6 +1064,7 @@ function selectAllPlanes() { } SelectedPlane = null; + SelectedAllPlanes = true; for(var key in Planes) { if (Planes[key].visible && !Planes[key].isFiltered()) { @@ -1072,7 +1073,6 @@ function selectAllPlanes() { Planes[key].updateMarker(); } } - SelectedAllPlanes = true; } refreshSelected();