From 9d3b47ba5d1e53fd9ca637cdce1df90c4a8e61e3 Mon Sep 17 00:00:00 2001 From: ShaMan123 Date: Sun, 5 Feb 2023 01:01:15 +0200 Subject: [PATCH] setVpt + brush.clipPath --- src/canvas/SelectableCanvas.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/canvas/SelectableCanvas.ts b/src/canvas/SelectableCanvas.ts index 6e27838940e..785af1369b4 100644 --- a/src/canvas/SelectableCanvas.ts +++ b/src/canvas/SelectableCanvas.ts @@ -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;