diff --git a/src/drawer.js b/src/drawer.js index 24023c84..f3ecada4 100644 --- a/src/drawer.js +++ b/src/drawer.js @@ -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(); } },