mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Merge pull request #859 from altert/smallfix
don't draw tiles with opacity 0
This commit is contained in:
commit
ef8ac2ecf8
@ -240,9 +240,11 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
|||||||
* Draws the TiledImage to its Drawer.
|
* Draws the TiledImage to its Drawer.
|
||||||
*/
|
*/
|
||||||
draw: function() {
|
draw: function() {
|
||||||
this._midDraw = true;
|
if (this.opacity !== 0) {
|
||||||
updateViewport( this );
|
this._midDraw = true;
|
||||||
this._midDraw = false;
|
updateViewport(this);
|
||||||
|
this._midDraw = false;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user