From 84383e22094ffd77a24e50458eb0b710309d1326 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Wed, 22 Mar 2017 09:27:39 -0500 Subject: [PATCH] Prevent stroke when selecting all planes --- public_html/planeObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/planeObject.js b/public_html/planeObject.js index e53b9af..a0df910 100644 --- a/public_html/planeObject.js +++ b/public_html/planeObject.js @@ -352,7 +352,7 @@ PlaneObject.prototype.updateIcon = function() { var col = this.getMarkerColor(); var opacity = 1.0; var outline = (this.position_from_mlat ? OutlineMlatColor : OutlineADSBColor); - var add_stroke = (this.selected) ? ' stroke="black" stroke-width="1px"' : ''; + var add_stroke = (this.selected && !SelectedAllPlanes) ? ' stroke="black" stroke-width="1px"' : ''; var baseMarker = getBaseMarker(this.category, this.icaotype, this.typeDescription, this.wtc); var rotation = (this.track === null ? 0 : this.track); //var transparentBorderWidth = (32 / baseMarker.scale / scaleFactor).toFixed(1);