diff options
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) |