Circle.radius accessor is undefined
cescopag opened this issue · comments
When I try tu use radius accessor for circle element, I got the following error:
TypeError: undefined is not a function
example:
var circle = new UI.Circle({
position: new Vector2(window_size.x / 2, window_size.y / 2),
radius:50,
backgroundColor:'white',
});
circle.radius(100);
I'm too used to specifying properties at initialization ;). I've added the missing accessor on master, it'll also be fixed on CloudPebble soon. Let me know if it works if you use the local SDK.