From 064cd5695a959520f3684d1f4a4f6be4d49c77f1 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Sat, 25 Oct 2014 14:43:20 +0200 Subject: [PATCH] Add will-change CSS property to scale line and rotate controls --- css/ol.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/css/ol.css b/css/ol.css index 390298a0ea..a418147c09 100644 --- a/css/ol.css +++ b/css/ol.css @@ -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;