Skip to content

Commit

Permalink
fix rendering overlay with clip path
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Jul 1, 2021
1 parent a3eb5d7 commit 5747e02
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/mixins/eraser_brush.mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,10 @@
ctx,
canvas.getObjects()
);
this.callSuper('_render');
this._saveAndTransform(ctx);
this.render(ctx);
this.callSuper('_drawClipPath', ctx);
ctx.restore();
this.restoreCanvasFromLayer('top');
},

Expand Down

0 comments on commit 5747e02

Please sign in to comment.