Allow preloading of tiles for zero opacity tiled images

This commit is contained in:
Tom 2024-01-31 15:40:47 -05:00
parent 1b44de3b68
commit 84a55968ee

View File

@ -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 || this._opacity === 0){
if(!drawArea || (this._opacity === 0 && !this._preload)){
return;
}