don't highlight selected planes.

i don't think highlighting the selected plane is necessary, you should
see the track.
Also no more different colored outline for MLAT.
This commit is contained in:
Matthias Wirth
2019-11-13 13:27:49 +01:00
parent a22829b740
commit fef6dfbb5e
2 changed files with 6 additions and 2 deletions

View File

@@ -608,8 +608,10 @@ PlaneObject.prototype.updateIcon = function() {
var col = this.getMarkerColor();
//var opacity = 1.0;
var outline = (this.dataSource == "mlat" ? OutlineMlatColor : OutlineADSBColor);
var add_stroke = (this.selected && !SelectedAllPlanes && !onlySelected && !multiSelect) ? (' stroke="'+outline+'" stroke-width="1px"') : '';
//var outline = (this.dataSource == "mlat" ? OutlineMlatColor : OutlineADSBColor);
//var add_stroke = (this.selected && !SelectedAllPlanes && !onlySelected && !multiSelect) ? (' stroke="'+outline+'" stroke-width="1px"') : '';
const add_stroke = '';
const outline = OutlineADSBColor;
var baseMarkerKey = (this.category ? this.category : "A0") + "_"
+ this.typeDescription + "_" + this.wtc + "_" + this.icaoType;