Define browser specific IMAGE_SMOOTHING_DISABLED

fix prettier
This commit is contained in:
mike-000
2020-04-30 16:56:02 +01:00
committed by GitHub
parent 3c1e00a3ec
commit 48e938e235
+2 -1
View File
@@ -13,7 +13,8 @@ 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 =
FIREFOX || SAFARI || WEBKIT
? {imageSmoothingEnabled: false} ? {imageSmoothingEnabled: false}
: { : {
imageSmoothingEnabled: false, imageSmoothingEnabled: false,