Skip to content

Commit 3b522b9

Browse files
committed
Improve selector for disabling pointer-events when zoom box is in use
1 parent cd14e28 commit 3b522b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/mapml.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,9 @@
332332
}
333333

334334
/* Disable pointer events where they'd interfere with the intended action. */
335+
.leaflet-crosshair *,
335336
.mapml-contextmenu-item > *,
336337
.mapml-control-layers label[for^="o"],
337-
.leaflet-crosshair > *,
338-
.leaflet-crosshair .leaflet-control,
339338
.mapml-draggable [aria-grabbed="true"] .mapml-control-layers > * {
340339
pointer-events: none!important;
341340
}

0 commit comments

Comments
 (0)