From 8f056e8ae5b699d9248d351588377b65e472c469 Mon Sep 17 00:00:00 2001 From: Amandus Butzer Date: Fri, 12 Jul 2024 12:58:04 +0200 Subject: [PATCH] fix: opacity 0 not respected --- .../map-view/components/ors-l-polyline/ors-l-polyline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fragments/map-view/components/ors-l-polyline/ors-l-polyline.js b/src/fragments/map-view/components/ors-l-polyline/ors-l-polyline.js index 900110c5a..27ac318f5 100755 --- a/src/fragments/map-view/components/ors-l-polyline/ors-l-polyline.js +++ b/src/fragments/map-view/components/ors-l-polyline/ors-l-polyline.js @@ -160,7 +160,7 @@ export default { computed: { routeOpacity () { let opacity = lodash.get(this.route, 'properties.opacity') - if (opacity) { + if (lodash.isNumber(opacity)) { return opacity } else { return 0.9