mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Removed save/restore for canvas
This commit is contained in:
parent
d892dcfbc7
commit
9511cf2d00
@ -612,14 +612,11 @@ $.Drawer.prototype = {
|
||||
setImageSmoothingEnabled: function(imageSmoothingEnabled){
|
||||
if ( this.useCanvas ) {
|
||||
var context = this.context;
|
||||
context.save();
|
||||
context.mozImageSmoothingEnabled = imageSmoothingEnabled;
|
||||
context.webkitImageSmoothingEnabled = imageSmoothingEnabled;
|
||||
context.msImageSmoothingEnabled = imageSmoothingEnabled;
|
||||
context.imageSmoothingEnabled = imageSmoothingEnabled;
|
||||
|
||||
context.restore();
|
||||
|
||||
this.viewer.forceRedraw();
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user