revert change to IMAGE_SMOOTHING_DISABLED

This commit is contained in:
mike-000
2020-04-30 21:33:00 +01:00
committed by GitHub
parent 48e938e235
commit bf77f59656

View File

@@ -1,7 +1,6 @@
/**
* @module ol/source/common
*/
import {FIREFOX, SAFARI, WEBKIT} from '../has.js';
/**
* Default WMS version.
@@ -13,10 +12,7 @@ export const DEFAULT_WMS_VERSION = '1.3.0';
* Context options to disable image smoothing.
* @type {Object}
*/
export const IMAGE_SMOOTHING_DISABLED =
FIREFOX || SAFARI || WEBKIT
? {imageSmoothingEnabled: false}
: {
imageSmoothingEnabled: false,
msImageSmoothingEnabled: false,
};
export const IMAGE_SMOOTHING_DISABLED = {
imageSmoothingEnabled: false,
msImageSmoothingEnabled: false,
};