mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Changelog and tweak for #995
This commit is contained in:
parent
bde239d389
commit
52fd82d4be
@ -12,6 +12,7 @@ OPENSEADRAGON CHANGELOG
|
|||||||
* Added getFullyLoaded method and "fully-loaded-change" event to TiledImage to know when tiles are fully loaded (#837)
|
* Added getFullyLoaded method and "fully-loaded-change" event to TiledImage to know when tiles are fully loaded (#837)
|
||||||
* Fixed: Initial tile load wasn't happening in parallel (#1014)
|
* Fixed: Initial tile load wasn't happening in parallel (#1014)
|
||||||
* Added Zoomify tile source (#863)
|
* Added Zoomify tile source (#863)
|
||||||
|
* Fixed problem with "sparse image" DZI files (#995)
|
||||||
|
|
||||||
2.2.1:
|
2.2.1:
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@ $.extend( $.DziTileSource.prototype, $.TileSource.prototype, /** @lends OpenSead
|
|||||||
yMax = yMin + rect.height * scale;
|
yMax = yMin + rect.height * scale;
|
||||||
|
|
||||||
xMin = Math.floor( xMin / this._tileWidth );
|
xMin = Math.floor( xMin / this._tileWidth );
|
||||||
yMin = Math.floor( yMin / this._tileWidth );
|
yMin = Math.floor( yMin / this._tileWidth ); // DZI tiles are square, so we just use _tileWidth
|
||||||
xMax = Math.ceil( xMax / this._tileWidth );
|
xMax = Math.ceil( xMax / this._tileWidth );
|
||||||
yMax = Math.ceil( yMax / this._tileWidth );
|
yMax = Math.ceil( yMax / this._tileWidth );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user