Merge pull request #651 from louis-e/fix-2x-sprite

fix: correct disabled icon positions for 7-sprite 2x sheet
This commit is contained in:
Louis Erbkamm
2025-12-01 21:49:41 +01:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -158,12 +158,13 @@
background-position: -182px -2px;
}
/* Disabled states reuse same sprites; opacity indicates disabled */
.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled {
background-position: -212px -2px;
background-position: -152px -2px;
}
.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled {
background-position: -242px -2px;
background-position: -182px -2px;
}
/* ================================================================== */