diff options
Diffstat (limited to 'src/elements/Circle.js')
-rw-r--r-- | src/elements/Circle.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/Circle.js b/src/elements/Circle.js index 29683c9..701b5e1 100644 --- a/src/elements/Circle.js +++ b/src/elements/Circle.js @@ -10,8 +10,8 @@ import SVGNumber from '../types/SVGNumber.js' import Shape from './Shape.js' export default class Circle extends Shape { - constructor (node) { - super(nodeOrNew('circle', node), node) + constructor (node, attrs = node) { + super(nodeOrNew('circle', node), attrs) } radius (r) { |