diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-04-08 10:21:14 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-04-08 10:21:17 +0100 |
commit | f87830f26d1699e0ed07560893d7b7938b5a5266 (patch) | |
tree | 43e1364f7e233ddf6d8970258e89ad2ea9ed4e35 | |
parent | f73b65b4e159ee03dceb9f315e34ca631b079f29 (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.js | 2 |
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 }) }); |