aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-04-08 10:21:14 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-04-08 10:21:17 +0100
commitf87830f26d1699e0ed07560893d7b7938b5a5266 (patch)
tree43e1364f7e233ddf6d8970258e89ad2ea9ed4e35
parentf73b65b4e159ee03dceb9f315e34ca631b079f29 (diff)
[TfL] Increase stroke opacity of red routes.
In Firefox/Edge on Windows, having a translucent stroke causes a large slowdown in page painting.
-rw-r--r--web/cobrands/tfl/assets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/tfl/assets.js b/web/cobrands/tfl/assets.js
index 7538d45e1..203df578f 100644
--- a/web/cobrands/tfl/assets.js
+++ b/web/cobrands/tfl/assets.js
@@ -35,7 +35,7 @@ var tlrn_stylemap = new OpenLayers.StyleMap({
fillColor: "#ff0000",
fillOpacity: 0.3,
strokeColor: "#ff0000",
- strokeOpacity: 0.6,
+ strokeOpacity: 1,
strokeWidth: 2
})
});