summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/transform.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transform.js b/src/transform.js
index 7c4902b..ded67fb 100644
--- a/src/transform.js
+++ b/src/transform.js
@@ -13,7 +13,7 @@ SVG.extend(SVG.Element, SVG.FX, {
return target.ctm().extract()[o]
// get current matrix
- var matrix = new SVG.Matrix(target)
+ var matrix = new SVG.Matrix(o.add === true ? target : {})
// act on matrix
if (o.a != null)