mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56: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 drawArea = this.getDrawArea();
|
||||
if(!drawArea){
|
||||
if(!drawArea || this._opacity === 0){
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user