mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-21 09:13:14 +03:00
patch error while loading an image as tiled image where the highest zoom level can not be determined
This commit is contained in:
parent
a42a0d1822
commit
ded886bcfe
@ -1299,6 +1299,10 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
|||||||
))
|
))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (!highestLevel) {
|
||||||
|
highestLevel = 0;
|
||||||
|
}
|
||||||
|
|
||||||
// Calculations for the interval of levels to draw
|
// Calculations for the interval of levels to draw
|
||||||
// can return invalid intervals; fix that here if necessary
|
// can return invalid intervals; fix that here if necessary
|
||||||
highestLevel = Math.max(highestLevel, this.source.minLevel || 0);
|
highestLevel = Math.max(highestLevel, this.source.minLevel || 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user