mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 00:26:10 +03:00
Edge smoothing and IE8 #1063
This commit is contained in:
parent
21884afff7
commit
04eafa9275
@ -1533,7 +1533,7 @@ function drawTiles( tiledImage, lastDrawn ) {
|
|||||||
var imageZoom = tiledImage.viewportToImageZoom(zoom);
|
var imageZoom = tiledImage.viewportToImageZoom(zoom);
|
||||||
// TODO: support tile edge smoothing with tiled image rotation.
|
// TODO: support tile edge smoothing with tiled image rotation.
|
||||||
if (imageZoom > tiledImage.smoothTileEdgesMinZoom && !tiledImage.iOSDevice &&
|
if (imageZoom > tiledImage.smoothTileEdgesMinZoom && !tiledImage.iOSDevice &&
|
||||||
tiledImage.getRotation() === 0) {
|
tiledImage.getRotation() === 0 && $.supportsCanvas) {
|
||||||
// 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.
|
||||||
// Note: Disabled on iOS devices per default as it causes a native crash
|
// Note: Disabled on iOS devices per default as it causes a native crash
|
||||||
|
Loading…
Reference in New Issue
Block a user