Don't use a heavy outline on aircraft when select-all is used.
This commit is contained in:
parent
5445ce143c
commit
5b8a943cee
|
@ -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);
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue