diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-04-09 22:39:03 +1000 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-04-09 22:39:03 +1000 |
commit | 47dc23cf13f870c9ce5dbc69c22a1c33f01619ef (patch) | |
tree | 6ce428dcbabaaaa84a83d3605ca841b4f396f301 /src | |
parent | 02cbd2998c3c36b88701ce83089df8947be1de9f (diff) | |
download | svg.js-47dc23cf13f870c9ce5dbc69c22a1c33f01619ef.tar.gz svg.js-47dc23cf13f870c9ce5dbc69c22a1c33f01619ef.zip |
added tests for Image
Diffstat (limited to 'src')
-rw-r--r-- | src/elements/Circle.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Circle.js b/src/elements/Circle.js index 701b5e1..6981b05 100644 --- a/src/elements/Circle.js +++ b/src/elements/Circle.js @@ -38,7 +38,7 @@ extend(Circle, { x, y, cx, cy, width, height }) registerMethods({ Container: { // Create circle element - circle: wrapWithAttrCheck(function (size) { + circle: wrapWithAttrCheck(function (size = 0) { return this.put(new Circle()) .size(size) .move(0, 0) |