Skip to content

Commit

Permalink
Remove deprecated mozImageSmoothingEnabled property
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed May 8, 2017
1 parent 0d94d47 commit f616386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/jcanvas.js
Expand Up @@ -308,7 +308,7 @@ function _setGlobalProps(canvas, ctx, params) {
ctx.globalCompositeOperation = params.compositing;
// Support cross-browser toggling of image smoothing
if (params.imageSmoothing) {
ctx.imageSmoothingEnabled = ctx.mozImageSmoothingEnabled = params.imageSmoothingEnabled;
ctx.imageSmoothingEnabled = params.imageSmoothingEnabled;
}
}

Expand Down

0 comments on commit f616386

Please sign in to comment.