mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Merge branch 'cache-overhaul-reviewed' of github.com:RationAI/openseadragon into cache-overhaul-reviewed
This commit is contained in:
commit
e3af370832
@ -3,6 +3,8 @@ OPENSEADRAGON CHANGELOG
|
|||||||
|
|
||||||
5.0.1: (in progress...)
|
5.0.1: (in progress...)
|
||||||
|
|
||||||
|
* Fixed: If you switched from WebGL drawer to canvas drawer, it didn't clean up properly (#2570 @pearcetm)
|
||||||
|
|
||||||
5.0.0:
|
5.0.0:
|
||||||
|
|
||||||
* BREAKING CHANGE: Dropped support for IE11 (#2300, #2361, #2553 @AndrewADev, @msalsbery)
|
* BREAKING CHANGE: Dropped support for IE11 (#2300, #2361, #2553 @AndrewADev, @msalsbery)
|
||||||
|
@ -822,8 +822,8 @@
|
|||||||
this._renderingCanvas.height = this._clippingCanvas.height = this._outputCanvas.height;
|
this._renderingCanvas.height = this._clippingCanvas.height = this._outputCanvas.height;
|
||||||
|
|
||||||
this._gl = this._renderingCanvas.getContext('webgl');
|
this._gl = this._renderingCanvas.getContext('webgl');
|
||||||
//make the additional canvas elements mirror size changes to the output canvas
|
|
||||||
this.viewer.addHandler("resize", function(){
|
this._resizeHandler = function(){
|
||||||
|
|
||||||
if(_this._outputCanvas !== _this.viewer.drawer.canvas){
|
if(_this._outputCanvas !== _this.viewer.drawer.canvas){
|
||||||
_this._outputCanvas.style.width = _this.viewer.drawer.canvas.clientWidth + 'px';
|
_this._outputCanvas.style.width = _this.viewer.drawer.canvas.clientWidth + 'px';
|
||||||
@ -844,7 +844,10 @@
|
|||||||
|
|
||||||
// important - update the size of the rendering viewport!
|
// important - update the size of the rendering viewport!
|
||||||
_this._resizeRenderer();
|
_this._resizeRenderer();
|
||||||
});
|
};
|
||||||
|
|
||||||
|
//make the additional canvas elements mirror size changes to the output canvas
|
||||||
|
this.viewer.addHandler("resize", this._resizeHandler);
|
||||||
}
|
}
|
||||||
|
|
||||||
_setupTextureHandlers(thisType) {
|
_setupTextureHandlers(thisType) {
|
||||||
|
Loading…
Reference in New Issue
Block a user