Changelog and tweak for #995

This commit is contained in:
Ian Gilman 2016-09-01 10:02:42 -07:00
parent bde239d389
commit 52fd82d4be
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ OPENSEADRAGON CHANGELOG
* 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)
* Added Zoomify tile source (#863)
* Fixed problem with "sparse image" DZI files (#995)
2.2.1:

View File

@ -198,7 +198,7 @@ $.extend( $.DziTileSource.prototype, $.TileSource.prototype, /** @lends OpenSead
yMax = yMin + rect.height * scale;
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 );
yMax = Math.ceil( yMax / this._tileWidth );