Merge pull request #9982 from fredj/css_vendor
Don't use vendor prefixes for the transform property
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user