mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Stop tiles from loading if opacity of tiled image is 0
This commit is contained in:
parent
f9a8b97cf9
commit
1b44de3b68
@ -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){
|
if(!drawArea || this._opacity === 0){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user