summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-08-03 12:43:08 +0200
committerwout <wout@impinc.co.uk>2014-08-03 12:43:08 +0200
commit27527cdef1cb6846d57b5d316cf938d97cd30213 (patch)
treee62af3ba0264b5ea34e4dd143e3c28d96927516d /src
parent4fec8a0c29df25163f7d766d0f15575c7a70a1c7 (diff)
downloadsvg.js-27527cdef1cb6846d57b5d316cf938d97cd30213.tar.gz
svg.js-27527cdef1cb6846d57b5d316cf938d97cd30213.zip
Removed node modules
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)