typo
This commit is contained in:
parent
28b335619d
commit
2f21b26c64
@ -14,7 +14,7 @@ class Canvas {
|
||||
this._ctx.fillStyle = "";
|
||||
}
|
||||
draw(shape) {
|
||||
this._ctx.fillStyle = shape._color.rgba();
|
||||
this._ctx.fillStyle = shape.color.rgba();
|
||||
shape.draw(this._ctx);
|
||||
this.resetStyle();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user