Fix white cell outline after selection

This commit is contained in:
Tyler Hallada 2022-09-23 17:43:40 -04:00
parent c32e30492c
commit 4af6285590

View File

@ -622,12 +622,7 @@ const Map: React.FC = () => {
paint: { paint: {
"fill-color": ["get", "color"], "fill-color": ["get", "color"],
"fill-opacity": ["get", "opacity"], "fill-opacity": ["get", "opacity"],
"fill-outline-color": [ "fill-outline-color": "transparent",
"case",
["boolean", ["feature-state", "selected"], false],
"white",
"transparent",
],
}, },
}, },
"grid-labels-layer" "grid-labels-layer"