diff --git a/src/tiledimage.js b/src/tiledimage.js index a289026a..bfc67fc8 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -311,6 +311,10 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag this._updateViewport(); this._midDraw = false; } + // Images with opacity 0 should not need to be drawn in future. this._needsDraw = false is set in this._updateViewport() for other images. + else { + this._needsDraw = false; + } }, /**