mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Merge pull request #2364 from SebDelile/master
workaround tile edge smoothing maxZoom + flip
This commit is contained in:
commit
ebab356c20
@ -1964,7 +1964,8 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
|||||||
if (lastDrawn.length > 1 &&
|
if (lastDrawn.length > 1 &&
|
||||||
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 (viewport rotation is not a problem).
|
||||||
|
this._drawer.viewer.viewport.getFlip() === false && // TODO: support tile edge smoothing with viewport flip (tiled image flip is not a problem).
|
||||||
$.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