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