diff options
Diffstat (limited to 'src/element.js')
-rw-r--r-- | src/element.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/element.js b/src/element.js index aaa6010..719c471 100644 --- a/src/element.js +++ b/src/element.js @@ -4,9 +4,13 @@ SVG.Element = function Element(n) { this.node = n; // initialize attribute store - this.attrs = {}; + this.attrs = { + 'fill-opacity': 1, + 'stroke-opacity': 1, + 'stroke-width': 0 + }; - // initialize transformations store + // initialize transformation store this.trans = { x: 0, y: 0, |