This commit is contained in:
Blue 2018-11-20 18:12:39 +03:00
parent 77c60445db
commit 53f84b5d08

View File

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