From a828a3878e148b5c52411d09d8c39d8af5435212 Mon Sep 17 00:00:00 2001 From: patrickzerhusen Date: Wed, 22 Apr 2026 15:56:30 +0200 Subject: [PATCH] fixed point opacity bug when deactivating categories in sidebar --- public/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/app.js b/public/js/app.js index 8b40f85..795d384 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -751,7 +751,7 @@ function toggleCategoryFilter(checkbox) { if (layer.feature) { const cat = layer.feature.properties.category; if (activeFilters.indexOf(cat) !== -1) { - layer.setStyle({ opacity: 1, fillOpacity: layer.feature.geometry.type === 'Point' ? 0.9 : 0.25 }); + layer.setStyle({ opacity: 0.8, fillOpacity: layer.feature.geometry.type === 'Point' ? 0.25 : 0.25 }); if (layer.setRadius) layer.setRadius(8); layer.options.interactive = true; } else {