aboutsummaryrefslogtreecommitdiffstats
path: root/src/pointarray.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-06-11 15:27:07 +0200
committerwout <wout@impinc.co.uk>2014-06-11 15:27:07 +0200
commite3a0f3a887a398a87356f63253830e1baf67823e (patch)
treed2b13c0dc0b4d40270cda7e1968860325d6c49b8 /src/pointarray.js
parent791f4368403571d5e824d91f3562c63baae356a8 (diff)
downloadsvg.js-e3a0f3a887a398a87356f63253830e1baf67823e.tar.gz
svg.js-e3a0f3a887a398a87356f63253830e1baf67823e.zip
Bumped to version 1.0.0-rc.7
Look at change log for full overview of changes.
Diffstat (limited to 'src/pointarray.js')
-rwxr-xr-xsrc/pointarray.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pointarray.js b/src/pointarray.js
index 16f3283..e246adf 100755
--- a/src/pointarray.js
+++ b/src/pointarray.js
@@ -69,7 +69,7 @@ SVG.extend(SVG.PointArray, {
/* recalculate position of all points according to new size */
for (i = this.value.length - 1; i >= 0; i--) {
this.value[i][0] = ((this.value[i][0] - box.x) * width) / box.width + box.x
- this.value[i][1] = ((this.value[i][1] - box.y) * height) / box.height + box.x
+ this.value[i][1] = ((this.value[i][1] - box.y) * height) / box.height + box.y
}
return this