From c515183baded71655acd540ce528e933a4cd65dc Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Thu, 30 Apr 2020 16:27:43 +0100 Subject: [PATCH] Use explicit test for image smoothing disabled fix prettier --- src/ol/reproj.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ol/reproj.js b/src/ol/reproj.js index 98e86d05fb..da0b2b56d0 100644 --- a/src/ol/reproj.js +++ b/src/ol/reproj.js @@ -331,7 +331,10 @@ export function render( context.save(); context.beginPath(); - if (isBrokenDiagonalRendering() || opt_contextOptions === IMAGE_SMOOTHING_DISABLED) { + if ( + isBrokenDiagonalRendering() || + opt_contextOptions === IMAGE_SMOOTHING_DISABLED + ) { // Make sure that everything is on pixel boundaries const u0r = pixelRound(u0); const v0r = pixelRound(v0);