mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-23 21:56:10 +03:00
Compare commits
No commits in common. "995be3c37cb762e92521f2b7af58cb55b1e992fa" and "a27b511ad3d974c75e54399ff6417f4b978bda00" have entirely different histories.
995be3c37c
...
a27b511ad3
@ -21,7 +21,6 @@ OPENSEADRAGON CHANGELOG
|
||||
* 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)
|
||||
* 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:
|
||||
|
||||
|
@ -272,11 +272,9 @@
|
||||
*/
|
||||
_freeupCanvasMemory: function () {
|
||||
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.width = 0;
|
||||
}
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user