diff --git a/build.properties b/build.properties index d629ef5c..b4fc623f 100644 --- a/build.properties +++ b/build.properties @@ -6,7 +6,7 @@ PROJECT: openseadragon BUILD_MAJOR: 0 BUILD_MINOR: 9 -BUILD_ID: 101 +BUILD_ID: 102 BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID} diff --git a/openseadragon.js b/openseadragon.js index 7bac1e01..a15c5860 100644 --- a/openseadragon.js +++ b/openseadragon.js @@ -1,7 +1,7 @@ /*globals OpenSeadragon */ /** - * @version OpenSeadragon 0.9.101 + * @version OpenSeadragon 0.9.102 * * @fileOverview *

@@ -8840,7 +8840,7 @@ function updateViewport( drawer ) { Math.log( 2 ) ) ), - highestLevel = Math.max( + highestLevel = Math.min( Math.abs(drawer.source.maxLevel), Math.abs(Math.floor( Math.log( zeroRatioC / drawer.minPixelRatio ) / diff --git a/src/drawer.js b/src/drawer.js index 99f7bcd1..3ebc9083 100644 --- a/src/drawer.js +++ b/src/drawer.js @@ -365,7 +365,7 @@ function updateViewport( drawer ) { Math.log( 2 ) ) ), - highestLevel = Math.max( + highestLevel = Math.min( Math.abs(drawer.source.maxLevel), Math.abs(Math.floor( Math.log( zeroRatioC / drawer.minPixelRatio ) / diff --git a/www/tilesource-collection.html b/www/tilesource-collection.html index 2425df13..db4c36cc 100644 --- a/www/tilesource-collection.html +++ b/www/tilesource-collection.html @@ -100,6 +100,7 @@ OpenSeadragon({ ... }); +