circle bugfix

This commit is contained in:
Blue 2018-11-19 13:00:39 +03:00
parent 366c0eb977
commit 6a11ebf440

View File

@ -7,6 +7,7 @@ class Circle extends Shape {
this._r = r;
}
draw(ctx) {
ctx.beginPath();
ctx.arc(this._x, this._y, this._r, 0, Math.PI * 2);
ctx.fill();
}