Skip to content

Commit f8c9fd8

Browse files
committed
fix: correct disabled icon positions for 7-sprite 2x sheet
1 parent 2ee2d48 commit f8c9fd8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
-297 Bytes
Loading

src/gui/css/maps/leaflet.draw.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,13 @@
158158
background-position: -182px -2px;
159159
}
160160

161+
/* Disabled states reuse same sprites; opacity indicates disabled */
161162
.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled {
162-
background-position: -212px -2px;
163+
background-position: -152px -2px;
163164
}
164165

165166
.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled {
166-
background-position: -242px -2px;
167+
background-position: -182px -2px;
167168
}
168169

169170
/* ================================================================== */

0 commit comments

Comments
 (0)