Merge pull request #1852 from umap-project/1848-invert-star-icons

fix: invert star icons when map is starred or not
This commit is contained in:
David Larlet 2024-05-22 12:51:58 -04:00 committed by GitHub
commit d4830f6128
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,10 +99,10 @@
box-shadow: 0 0 4px 0 black inset; box-shadow: 0 0 4px 0 black inset;
} }
.leaflet-control-star [type="button"] { .leaflet-control-star [type="button"] {
background-position: -108px -144px; background-position: -144px -144px;
} }
.leaflet-control-star.starred [type="button"] { .leaflet-control-star.starred [type="button"] {
background-position: -144px -144px; background-position: -108px -144px;
} }
.leaflet-control-search [type="button"] { .leaflet-control-search [type="button"] {
background-position: -36px -108px; background-position: -36px -108px;