Add will-change CSS property to scale line and rotate controls
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 1px;
|
margin: 1px;
|
||||||
|
will-change: contents, width;
|
||||||
}
|
}
|
||||||
.ol-unsupported {
|
.ol-unsupported {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -101,6 +102,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
|
will-change: transform;
|
||||||
}
|
}
|
||||||
.ol-touch .ol-control button {
|
.ol-touch .ol-control button {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
|||||||
Reference in New Issue
Block a user