bugfix
This commit is contained in:
parent
77c60445db
commit
53f84b5d08
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user