mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
changed conditional if to else in draw function
This commit is contained in:
parent
f64388b038
commit
44b108f00e
@ -312,7 +312,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
|||||||
this._midDraw = false;
|
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.
|
// 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;
|
this._needsDraw = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user