mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Repaired Minor issues
This commit is contained in:
parent
9968025782
commit
d892dcfbc7
@ -611,14 +611,16 @@ $.Drawer.prototype = {
|
|||||||
*/
|
*/
|
||||||
setImageSmoothingEnabled: function(imageSmoothingEnabled){
|
setImageSmoothingEnabled: function(imageSmoothingEnabled){
|
||||||
if ( this.useCanvas ) {
|
if ( this.useCanvas ) {
|
||||||
this.context.mozImageSmoothingEnabled = imageSmoothingEnabled;
|
var context = this.context;
|
||||||
this.context.webkitImageSmoothingEnabled = imageSmoothingEnabled;
|
context.save();
|
||||||
this.context.msImageSmoothingEnabled = imageSmoothingEnabled;
|
context.mozImageSmoothingEnabled = imageSmoothingEnabled;
|
||||||
this.context.imageSmoothingEnabled = 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