Skip to content

Commit

Permalink
Merge pull request #2623 from asturur/retina-on-scale
Browse files Browse the repository at this point in the history
reinit retina scaling on canvas element dimensions change
  • Loading branch information
kangax committed Nov 13, 2015
2 parents ad12e53 + 6317d95 commit 8f80fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/static_canvas.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@
this._setCssDimension(prop, cssValue);
}
}

this._initRetinaScaling();
this._setImageSmoothing();
this.calcOffset();

Expand Down

0 comments on commit 8f80fe6

Please sign in to comment.