mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
Allow preloading of tiles for zero opacity tiled images
This commit is contained in:
parent
1b44de3b68
commit
84a55968ee
@ -1434,7 +1434,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
|||||||
let lowestLevel = tiles.length ? tiles[0].level : 0;
|
let lowestLevel = tiles.length ? tiles[0].level : 0;
|
||||||
|
|
||||||
let drawArea = this.getDrawArea();
|
let drawArea = this.getDrawArea();
|
||||||
if(!drawArea || this._opacity === 0){
|
if(!drawArea || (this._opacity === 0 && !this._preload)){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user