Remove vendor prefix for the 'transform' CSS property
Browser support: https://caniuse.com/#feat=transforms2d
This commit is contained in:
@@ -169,8 +169,6 @@ export function render(mapEvent) {
|
|||||||
this.element.classList.remove(CLASS_HIDDEN);
|
this.element.classList.remove(CLASS_HIDDEN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.label_.style.msTransform = transform;
|
|
||||||
this.label_.style.webkitTransform = transform;
|
|
||||||
this.label_.style.transform = transform;
|
this.label_.style.transform = transform;
|
||||||
}
|
}
|
||||||
this.rotation_ = rotation;
|
this.rotation_ = rotation;
|
||||||
|
|||||||
Vendored
-4
@@ -27,7 +27,3 @@ interface Element {
|
|||||||
msRequestFullscreen(): Promise<void>;
|
msRequestFullscreen(): Promise<void>;
|
||||||
webkitRequestFullscreen(allowKeyboardInput?: number): Promise<void>;
|
webkitRequestFullscreen(allowKeyboardInput?: number): Promise<void>;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CSSStyleDeclaration {
|
|
||||||
msTransform: string | null;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user