Merge pull request #1319 from jetic83/master

Solves issue #1318 for transparent TiledImages
This commit is contained in:
Ian Gilman 2017-10-06 10:02:23 -07:00 committed by GitHub
commit a0beedc860

View File

@ -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;
}
},
/**