Add will-change CSS property to scale line and rotate controls

This commit is contained in:
Frederic Junod
2014-10-25 14:43:20 +02:00
parent b6adeea4f4
commit 064cd5695a

View File

@@ -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;