From 2c03c1bbe95b5d034bfa2c0b2d7ebd1598e2f0f6 Mon Sep 17 00:00:00 2001 From: Delile Sebastien Date: Wed, 31 May 2023 16:11:42 +0200 Subject: [PATCH] workaround tile edge smoothing maxZoom + flip --- src/tiledimage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tiledimage.js b/src/tiledimage.js index 3571aaea..393859ce 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -1965,6 +1965,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag imageZoom > this.smoothTileEdgesMinZoom && !this.iOSDevice && this.getRotation(true) % 360 === 0 && // TODO: support tile edge smoothing with tiled image rotation. + this._drawer.viewer.viewport.getFlip() === false && // TODO: support tile edge smoothing with tiled image flip. $.supportsCanvas && this.viewer.useCanvas) { // When zoomed in a lot (>100%) the tile edges are visible. // So we have to composite them at ~100% and scale them up together.