Commit 1f4b1709 by Tomas Alabes

Merge pull request #937 from TheCloudlessSky/set-viewbox-variable

Fix #935 - Wrong variable used in VML setViewBox()
parents a5264e47 60b3c5aa
...@@ -903,7 +903,7 @@ window.Raphael && window.Raphael.vml && function(R) { ...@@ -903,7 +903,7 @@ window.Raphael && window.Raphael.vml && function(R) {
this._viewBoxShift = { this._viewBoxShift = {
dx: -x, dx: -x,
dy: -y, dy: -y,
scale: size scale: paperSize
}; };
this.forEach(function (el) { this.forEach(function (el) {
el.transform("..."); el.transform("...");
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -8125,7 +8125,7 @@ ...@@ -8125,7 +8125,7 @@
this._viewBoxShift = { this._viewBoxShift = {
dx: -x, dx: -x,
dy: -y, dy: -y,
scale: size scale: paperSize
}; };
this.forEach(function (el) { this.forEach(function (el) {
el.transform("..."); el.transform("...");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment