Merge pull request #728 from LarissaSmith/master

Fix for issue with tiledImages loading tiles at every level instead of just the best level:
This commit is contained in:
Ian Gilman 2015-09-16 09:27:44 -07:00
commit 0126f588a7

View File

@ -332,7 +332,7 @@ $.TileSource.prototype = /** @lends OpenSeadragon.TileSource.prototype */{
Math.floor( rect.y / this.getTileHeight(i) ) Math.floor( rect.y / this.getTileHeight(i) )
); );
if( tiles.x + 1 >= tilesPerSide.x || tiles.y + 1 >= tilesPerSide.y ){ if( tiles.x + 1 >= tilesPerSide.x && tiles.y + 1 >= tilesPerSide.y ){
break; break;
} }
} }