mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
fix: avoid crash when setting useCanvas to false
This commit is contained in:
parent
51e3ea7fa0
commit
34fd856b4f
@ -2055,7 +2055,7 @@ function drawTiles( tiledImage, lastDrawn ) {
|
||||
imageZoom > tiledImage.smoothTileEdgesMinZoom &&
|
||||
!tiledImage.iOSDevice &&
|
||||
tiledImage.getRotation(true) % 360 === 0 && // TODO: support tile edge smoothing with tiled image rotation.
|
||||
$.supportsCanvas) {
|
||||
$.supportsCanvas && tiledImage.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.
|
||||
// Note: Disabled on iOS devices per default as it causes a native crash
|
||||
|
Loading…
Reference in New Issue
Block a user