Define browser specific IMAGE_SMOOTHING_DISABLED
fix prettier
This commit is contained in:
@@ -13,9 +13,10 @@ export const DEFAULT_WMS_VERSION = '1.3.0';
|
|||||||
* Context options to disable image smoothing.
|
* Context options to disable image smoothing.
|
||||||
* @type {Object}
|
* @type {Object}
|
||||||
*/
|
*/
|
||||||
export const IMAGE_SMOOTHING_DISABLED = FIREFOX || SAFARI || WEBKIT
|
export const IMAGE_SMOOTHING_DISABLED =
|
||||||
? {imageSmoothingEnabled: false}
|
FIREFOX || SAFARI || WEBKIT
|
||||||
: {
|
? {imageSmoothingEnabled: false}
|
||||||
imageSmoothingEnabled: false,
|
: {
|
||||||
msImageSmoothingEnabled: false,
|
imageSmoothingEnabled: false,
|
||||||
};
|
msImageSmoothingEnabled: false,
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user