Skip to content

Commit deb14bd

Browse files
committed
Correct ellipse sizing
1 parent 9b812f8 commit deb14bd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/gameobjects/shape/ellipse/Ellipse.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ var Ellipse = new Class({
7373
this._smoothness = 64;
7474

7575
this.setPosition(x, y);
76-
this.setSize(width, height);
76+
77+
this.width = width;
78+
this.height = height;
7779

7880
if (fillColor !== undefined)
7981
{

0 commit comments

Comments
 (0)