mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 17:21:50 +03:00
correct logic for call to _updateViewport
This commit is contained in:
parent
9548ad6a27
commit
2915ee09c5
@ -292,7 +292,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
||||
* Draws the TiledImage to its Drawer.
|
||||
*/
|
||||
draw: function() {
|
||||
if (this.opacity !== 0 && !this._preload) {
|
||||
if (!(this.opacity === 0 && !this._preload)) {
|
||||
this._midDraw = true;
|
||||
this._updateViewport();
|
||||
this._midDraw = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user