Fix setting #radius on Shape.Circle.

This commit is contained in:
Jürg Lehni 2013-11-28 18:03:41 +01:00
parent bfd65fe75d
commit c0e8285c07

View file

@ -110,6 +110,7 @@ var Shape = Item.extend(/** @lends Shape# */{
if (radius === this._radius)
return;
var size = radius * 2;
this._radius = radius;
this._size.set(size, size);
} else {
radius = Size.read(arguments);