mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Fixed issue with square tile code on IE
This commit is contained in:
parent
e5355abafe
commit
7ba516b30a
@ -392,9 +392,7 @@ $.TileSource.prototype = {
|
||||
sy = Math.min( sy, dimensionsScaled.y - py );
|
||||
|
||||
if (isSource) {
|
||||
scale = 1;
|
||||
px = 0;
|
||||
py = 0;
|
||||
return new $.Rect(0, 0, Math.floor(sx), Math.floor(sy));
|
||||
}
|
||||
|
||||
return new $.Rect( px * scale, py * scale, sx * scale, sy * scale );
|
||||
|
Loading…
Reference in New Issue
Block a user