Skip to content

Commit

Permalink
Update vue-croppa.js
Browse files Browse the repository at this point in the history
Use of mozImageSmoothingEnabled is deprecated. Please use the unprefixed imageSmoothingEnabled property instead
  • Loading branch information
UP4B LLC authored Aug 15, 2018
1 parent 32f75bf commit c364ce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/vue-croppa.js
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ var component = { render: function render() {
this._setSize();
this.canvas.style.backgroundColor = !this.canvasColor || this.canvasColor == 'default' ? 'transparent' : typeof this.canvasColor === 'string' ? this.canvasColor : '';
this.ctx = this.canvas.getContext('2d');
this.ctx.mozImageSmoothingEnabled = true;
this.ctx.imageSmoothingEnabled = true;
this.ctx.imageSmoothingQuality = "high";
this.ctx.webkitImageSmoothingEnabled = true;
this.ctx.msImageSmoothingEnabled = true;
Expand Down

0 comments on commit c364ce3

Please sign in to comment.