Skip to content

Commit

Permalink
Update eraser_brush.class.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Apr 7, 2021
1 parent e89b406 commit 48634eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brushes/eraser_brush.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
}

var path = this.createPath(pathData);
//this.canvas.clearContext(this.canvas.contextTop);
this.canvas.clearContext(this.canvas.contextTop);
this.canvas.fire('before:path:created', { path: path });

if (this.canvas.backgroundImage && this.canvas.backgroundImage.erasable) {
Expand Down

0 comments on commit 48634eb

Please sign in to comment.