diff --git a/src/tiledimage.js b/src/tiledimage.js index 44ddba33..bfc67fc8 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -312,7 +312,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag 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. - if (this.opacity === 0) { + else { this._needsDraw = false; } },