mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-16 23:03:13 +03:00
don't draw tiles with opacity 0, see #806
This commit is contained in:
parent
856f00994b
commit
f51658f0af
@ -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() {
|
||||||
|
if (this.opacity !== 0) {
|
||||||
this._midDraw = true;
|
this._midDraw = true;
|
||||||
updateViewport( this );
|
updateViewport( this );
|
||||||
this._midDraw = false;
|
this._midDraw = false;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user