Skip to content

Commit

Permalink
Fix masking for SVG paths drawn with drawPath()
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Apr 23, 2024
1 parent ecd7e7c commit 83848de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jcanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ function _closePath(canvas, ctx, params, path) {
if (params.mask) {
// Retrieve canvas data
data = _getCanvasData(canvas);
_enableMasking(ctx, data, params);
_enableMasking(ctx, data, params, path);
}

}
Expand Down

0 comments on commit 83848de

Please sign in to comment.