real "empty" diamond
This commit is contained in:
parent
112eff4462
commit
d08be1e613
1 changed files with 3 additions and 4 deletions
|
@ -60,7 +60,7 @@ var drawBlip = func(elem, threatLvl) {
|
||||||
.lineTo(0,-14)
|
.lineTo(0,-14)
|
||||||
.lineTo(10,0)
|
.lineTo(10,0)
|
||||||
.lineTo(0,14)
|
.lineTo(0,14)
|
||||||
.close();
|
.lineTo(-10,0);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -331,7 +331,6 @@ var TrafficLayer = {
|
||||||
if (threatLevel > 0) {
|
if (threatLevel > 0) {
|
||||||
item.elems.blip.setColorFill(r, g, b);
|
item.elems.blip.setColorFill(r, g, b);
|
||||||
} else {
|
} else {
|
||||||
item.elems.blip.setColorFill(0,0,0);
|
|
||||||
item.elems.blip.setColor(r, g, b);
|
item.elems.blip.setColor(r, g, b);
|
||||||
}
|
}
|
||||||
item.elems.text.setColor(r, g, b);
|
item.elems.text.setColor(r, g, b);
|
||||||
|
|
Loading…
Reference in a new issue