This commit is contained in:
Blue 2018-11-20 18:12:39 +03:00
parent 77c60445db
commit 53f84b5d08
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class Canvas extends UI {
this._ctx.filter = "blur(" + this._blurStrength + "px)"; this._ctx.filter = "blur(" + this._blurStrength + "px)";
} }
getData() { getData() {
this.element.toDataURL(); return this.element.toDataURL();
} }
draw(shape) { draw(shape) {
this._ctx.fillStyle = shape.color.rgba(); this._ctx.fillStyle = shape.color.rgba();