bugfix
This commit is contained in:
parent
77c60445db
commit
53f84b5d08
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue