From 5f29b8b0d503544c7c7ecdefc5d6cb3fdbf21f96 Mon Sep 17 00:00:00 2001 From: David Larlet Date: Wed, 22 May 2024 11:05:44 -0400 Subject: [PATCH] fix: invert star icons when map is starred or not Fixes #1848 --- umap/static/umap/map.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index 8d872b92..d2944a49 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -99,10 +99,10 @@ box-shadow: 0 0 4px 0 black inset; } .leaflet-control-star [type="button"] { - background-position: -108px -144px; + background-position: -144px -144px; } .leaflet-control-star.starred [type="button"] { - background-position: -144px -144px; + background-position: -108px -144px; } .leaflet-control-search [type="button"] { background-position: -36px -108px;