mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
Repaired Minor issues
This commit is contained in:
parent
9968025782
commit
d892dcfbc7
@ -611,14 +611,16 @@ $.Drawer.prototype = {
|
||||
*/
|
||||
setImageSmoothingEnabled: function(imageSmoothingEnabled){
|
||||
if ( this.useCanvas ) {
|
||||
this.context.mozImageSmoothingEnabled = imageSmoothingEnabled;
|
||||
this.context.webkitImageSmoothingEnabled = imageSmoothingEnabled;
|
||||
this.context.msImageSmoothingEnabled = imageSmoothingEnabled;
|
||||
this.context.imageSmoothingEnabled = imageSmoothingEnabled;
|
||||
var context = this.context;
|
||||
context.save();
|
||||
context.mozImageSmoothingEnabled = imageSmoothingEnabled;
|
||||
context.webkitImageSmoothingEnabled = imageSmoothingEnabled;
|
||||
context.msImageSmoothingEnabled = imageSmoothingEnabled;
|
||||
context.imageSmoothingEnabled = imageSmoothingEnabled;
|
||||
|
||||
this.context.restore();
|
||||
context.restore();
|
||||
|
||||
this.viewer.world.draw();
|
||||
this.viewer.forceRedraw();
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user