mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
workaround tile edge smoothing maxZoom + flip
This commit is contained in:
parent
b405a904a6
commit
2c03c1bbe9
@ -1965,6 +1965,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
|||||||
imageZoom > this.smoothTileEdgesMinZoom &&
|
imageZoom > this.smoothTileEdgesMinZoom &&
|
||||||
!this.iOSDevice &&
|
!this.iOSDevice &&
|
||||||
this.getRotation(true) % 360 === 0 && // TODO: support tile edge smoothing with tiled image rotation.
|
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) {
|
$.supportsCanvas && this.viewer.useCanvas) {
|
||||||
// When zoomed in a lot (>100%) the tile edges are visible.
|
// When zoomed in a lot (>100%) the tile edges are visible.
|
||||||
// So we have to composite them at ~100% and scale them up together.
|
// So we have to composite them at ~100% and scale them up together.
|
||||||
|
Loading…
Reference in New Issue
Block a user