Merge pull request #9982 from fredj/css_vendor

Don't use vendor prefixes for the transform property
This commit is contained in:
Frédéric Junod
2019-09-25 08:26:11 +02:00
committed by GitHub

View File

@@ -463,8 +463,6 @@ class OverviewMap extends Control {
box.style.width = width + 'px'; box.style.width = width + 'px';
box.style.height = height + 'px'; box.style.height = height + 'px';
const transform = 'rotate(' + rotation + 'rad)'; const transform = 'rotate(' + rotation + 'rad)';
box.style.msTransform = transform;
box.style.webkitTransform = transform;
box.style.transform = transform; box.style.transform = transform;
} }
} }