Compare commits

..

No commits in common. "995be3c37cb762e92521f2b7af58cb55b1e992fa" and "a27b511ad3d974c75e54399ff6417f4b978bda00" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -21,7 +21,6 @@ OPENSEADRAGON CHANGELOG
* Fixed error caused by attaching MouseTracker to the page's document element (#2145 @tdiprima) * Fixed error caused by attaching MouseTracker to the page's document element (#2145 @tdiprima)
* Added fallback and deprecation warning for Viewer.buttons (which got changed to buttonGroup in 3.0.0) (#2153 @devbyjonah) * Added fallback and deprecation warning for Viewer.buttons (which got changed to buttonGroup in 3.0.0) (#2153 @devbyjonah)
* Pinch to zoom now zooms around the center of the pinch, rather than the center of the viewer (#2158 @cavenel) * Pinch to zoom now zooms around the center of the pinch, rather than the center of the viewer (#2158 @cavenel)
* Fixed an issue that would sometimes cause problems with freeing up ImageTileSource memory (#2162 @pearcetm)
3.0.0: 3.0.0:

View File

@ -272,10 +272,8 @@
*/ */
_freeupCanvasMemory: function () { _freeupCanvasMemory: function () {
for (var i = 0; i < this.levels.length; i++) { for (var i = 0; i < this.levels.length; i++) {
if(this.levels[i].context2D){ this.levels[i].context2D.canvas.height = 0;
this.levels[i].context2D.canvas.height = 0; this.levels[i].context2D.canvas.width = 0;
this.levels[i].context2D.canvas.width = 0;
}
} }
}, },
}); });