mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Fix setting #radius on Shape.Circle.
This commit is contained in:
parent
bfd65fe75d
commit
c0e8285c07
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue