Set pointerEvents style programmatically instead of relying on ol.css
This commit is contained in:
@@ -74,12 +74,6 @@
|
||||
user-select: none;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
}
|
||||
.ol-overlaycontainer, .ol-overlaycontainer-stopevent {
|
||||
pointer-events: none;
|
||||
}
|
||||
.ol-overlaycontainer > *, .ol-overlaycontainer-stopevent > * {
|
||||
pointer-events: auto;
|
||||
}
|
||||
.ol-selectable {
|
||||
-webkit-touch-callout: default;
|
||||
-webkit-user-select: text;
|
||||
@@ -150,9 +144,6 @@
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
.ol-control button span {
|
||||
pointer-events: none;
|
||||
}
|
||||
.ol-zoom-extent button {
|
||||
line-height: 1.4em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user