aboutsummaryrefslogtreecommitdiffstats
path: root/src/pointarray.js
diff options
context:
space:
mode:
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