mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-29 03:39:50 +03:00
Removed save/restore for canvas
This commit is contained in:
parent
d892dcfbc7
commit
9511cf2d00
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue