Skip to content

Commit

Permalink
setVpt + brush.clipPath
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Feb 4, 2023
1 parent 60147f2 commit 9d3b47b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/canvas/SelectableCanvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,7 @@ export class SelectableCanvas<
if (this.isCurrentlyDrawing()) {
// force brush to redraw
this.shouldClearContextTop = true;
this.freeDrawingBrush!.clipPath?.setCoords();
}
super.setViewportTransform(vpt);
const activeObject = this._activeObject;
Expand Down

0 comments on commit 9d3b47b

Please sign in to comment.