mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +03:00
Fix this scoping
This commit is contained in:
parent
f7d86ac244
commit
8f483a3ba0
@ -1456,7 +1456,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag
|
||||
lowestLevel
|
||||
);
|
||||
_this._isBlending = _this._isBlending || tileIsBlending;
|
||||
_this._needsDraw = _this._needsDraw || tileIsBlending || this._wasBlending;
|
||||
_this._needsDraw = _this._needsDraw || tileIsBlending || _this._wasBlending;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -261,7 +261,7 @@ $.extend( $.World.prototype, $.EventSource.prototype, /** @lends OpenSeadragon.W
|
||||
draw: function() {
|
||||
this.viewer.drawer.draw(this._items);
|
||||
this._needsDraw = false;
|
||||
this._items.forEach(function(item){
|
||||
this._items.forEach((item) => {
|
||||
this._needsDraw = item.setDrawn() || this._needsDraw;
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user