Skip to content

Commit

Permalink
Add missing Circle radius accessor (Addresses #164)
Browse files Browse the repository at this point in the history
  • Loading branch information
Meiguro committed May 24, 2016
1 parent 382c116 commit 06025ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/js/ui/circle.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
var util2 = require('util2');
var myutil = require('myutil');
var Propable = require('ui/propable');
var StageElement = require('ui/element');

var accessorProps = [
'radius',
];

var defaults = {
backgroundColor: 'white',
borderColor: 'clear',
Expand All @@ -15,4 +20,6 @@ var Circle = function(elementDef) {

util2.inherit(Circle, StageElement);

Propable.makeAccessors(accessorProps, Circle.prototype);

module.exports = Circle;

0 comments on commit 06025ae

Please sign in to comment.