diff options
author | wout <wout@impinc.co.uk> | 2013-01-05 22:20:17 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-01-05 22:20:17 +0100 |
commit | 6175f1a3b22e9ec5959f275657f521b7b30379d1 (patch) | |
tree | 05bb452c52163487e7fe8898e199ec6979b6a2fe /src | |
parent | eb58a52f9ad219331961119bf114480a58f7b17c (diff) | |
download | svg.js-6175f1a3b22e9ec5959f275657f521b7b30379d1.tar.gz svg.js-6175f1a3b22e9ec5959f275657f521b7b30379d1.zip |
Fix in animatabel attr
Diffstat (limited to 'src')
-rw-r--r-- | src/element.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/element.js b/src/element.js index a67e9fe..30f4778 100644 --- a/src/element.js +++ b/src/element.js @@ -10,7 +10,16 @@ SVG.Element = function Element(node) { this.attrs = { 'fill-opacity': 1, 'stroke-opacity': 1, - 'stroke-width': 0 + 'stroke-width': 0, + x: 0, + y: 0, + cx: 0, + cy: 0, + width: 0, + height: 0, + r: 0, + rx: 0, + ry: 0 }; /* initialize transformation store with defaults */ |