Skip to content

Commit 2c4b38a

Browse files
committed
Missing path join
1 parent 41d09fe commit 2c4b38a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/gameobjects/shape/ellipse/Ellipse.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ var Ellipse = new Class({
9090
path.push(points[i].x, points[i].y);
9191
}
9292

93+
path.push(points[0].x, points[0].y);
94+
9395
this.pathIndexes = Earcut(path);
9496
this.pathData = path;
9597

0 commit comments

Comments
 (0)