Skip to content

Commit 9f68f08

Browse files
Mark JessopMark Jessop
authored andcommitted
Make yellow lines a bit darker, also increase the opacity of prediction lines a tad.
1 parent 2b79d01 commit 9f68f08

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

js/tracker.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ var car_index = 0;
6969
var car_colors = ["blue", "red", "green", "yellow", "teal", "purple"];
7070
var balloon_index = 0;
7171
var balloon_colors_name = ["red", "blue", "green", "yellow", "purple", "orange", "cyan"];
72-
var balloon_colors = ["#f00", "blue", "green", "#FDFC30", "#c700e6", "#ff8a0f", "#0fffca"];
72+
// Yellow was #FDFC30, darker version is "#caca02"
73+
var balloon_colors = ["#f00", "blue", "green", "#caca02", "#c700e6", "#ff8a0f", "#0fffca"];
7374

7475
var nyan_color_index = 0;
7576
var nyan_colors = ['nyan', 'nyan-coin', 'nyan-mon', 'nyan-pirate', 'nyan-cool', 'nyan-tothemax', 'nyan-pumpkin', 'nyan-afro', 'nyan-coin', 'nyan-mummy'];
@@ -2120,7 +2121,7 @@ function redrawPrediction(vcallsign) {
21202121
} else {
21212122
vehicle.prediction_polyline = new L.Polyline(line, {
21222123
color: balloon_colors[vehicle.color_index],
2123-
opacity: 0.4,
2124+
opacity: 0.5, // Was 0.4
21242125
weight: 3,
21252126
}).addTo(map);
21262127
vehicle.prediction_polyline.on('click', function (e) {

0 commit comments

Comments
 (0)