Skip to content

Commit 7da5545

Browse files
committed
feat: added lock/unlock support and align nodes support
1 parent 7d00d1d commit 7da5545

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/components/actions/mask-tool/mask-tool.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class MaskToolAction extends WeaveAction {
1717
protected maskId: string | null;
1818
protected tempLineId: string | null;
1919
protected tempLine!: Konva.Line | null;
20-
protected mask!: Konva.Line | null;
20+
protected mask!: Konva.Line | undefined;
2121
protected container: Konva.Layer | Konva.Group | undefined;
2222
protected measureContainer: Konva.Layer | Konva.Group | undefined;
2323
protected maskTransformer!: Konva.Transformer | undefined;
@@ -317,7 +317,7 @@ export class MaskToolAction extends WeaveAction {
317317
this.tempPoint = undefined;
318318
this.tempNextPoint = undefined;
319319
this.maskId = null;
320-
this.mask = null;
320+
this.mask = undefined;
321321
this.tempLineId = null;
322322
this.container = undefined;
323323
this.clickPoint = null;

0 commit comments

Comments
 (0)