mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-30 12:10:12 +03:00
Fixed issue with square tile code on IE
This commit is contained in:
parent
e5355abafe
commit
7ba516b30a
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue