Skip to content

Commit

Permalink
Merge in fix gliffy#53
Browse files Browse the repository at this point in the history
  • Loading branch information
mudcube committed Nov 8, 2017
1 parent c7bd374 commit ad783c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions canvas2svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,7 @@
svgImage = this.__createElement("image");
svgImage.setAttribute("width", dw);
svgImage.setAttribute("height", dh);
svgImage.setAttribute("opacity", this.globalAlpha);
svgImage.setAttribute("preserveAspectRatio", "none");

if (sx || sy || sw !== image.width || sh !== image.height) {
Expand Down

0 comments on commit ad783c2

Please sign in to comment.