mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 09:11:45 +03:00
Take pixelDensityRatio into account.
This commit is contained in:
parent
684029bc79
commit
cac7052bf8
@ -1454,7 +1454,9 @@ function drawTiles( tiledImage, lastDrawn ) {
|
||||
// Except when edge smoothing, we only clean the part of the
|
||||
// sketch canvas we are going to use for performance reasons.
|
||||
bounds = tiledImage.viewport.viewportToViewerElementRectangle(
|
||||
tiledImage.getClippedBounds(true)).getIntegerBoundingBox();
|
||||
tiledImage.getClippedBounds(true))
|
||||
.getIntegerBoundingBox()
|
||||
.times($.pixelDensityRatio);
|
||||
}
|
||||
tiledImage._drawer._clear(true, bounds);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user