summaryrefslogtreecommitdiffstats
path: root/src/types
diff options
context:
space:
mode:
authorValentin <radu.v.valentin@me.com>2019-05-09 15:42:28 +0300
committerValentin <radu.v.valentin@me.com>2019-05-09 15:42:28 +0300
commit94d019ee3c8ff8439aeebc2380246c3ea01ed058 (patch)
tree6df52e5ecae70495e4155f3e9e655cb3c8ed8425 /src/types
parent557f458aec9bb45182117b1366ca824f087129f0 (diff)
downloadsvg.js-94d019ee3c8ff8439aeebc2380246c3ea01ed058.tar.gz
svg.js-94d019ee3c8ff8439aeebc2380246c3ea01ed058.zip
Added tests for 0 value width/height wrong path scaling
Diffstat (limited to 'src/types')
-rw-r--r--src/types/PathArray.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/PathArray.js b/src/types/PathArray.js
index affd853..56df5b6 100644
--- a/src/types/PathArray.js
+++ b/src/types/PathArray.js
@@ -186,7 +186,7 @@ extend(PathArray, {
// transformations on the respective axis
box.width = box.width === 0 ? 1 : box.width
box.height = box.height === 0 ? 1 : box.height
-
+
// recalculate position of all points according to new size
for (i = this.length - 1; i >= 0; i--) {
l = this[i][0]