perf(ui): object groups do not listen

This commit is contained in:
psychedelicious 2024-07-05 00:41:36 +10:00
parent 6d936a7c44
commit 03ea005e9c
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ export class CanvasInpaintMask {
id: getObjectGroupId(this.layer.id(), uuidv4()),
listening: false,
});
this.objectsGroup = new Konva.Group({});
this.objectsGroup = new Konva.Group({ listening: false });
this.group.add(this.objectsGroup);
this.layer.add(this.group);

View File

@ -34,7 +34,7 @@ export class CanvasLayer {
id: getObjectGroupId(this.layer.id(), uuidv4()),
listening: false,
});
this.objectsGroup = new Konva.Group({});
this.objectsGroup = new Konva.Group({ listening: false });
this.group.add(this.objectsGroup);
this.layer.add(this.group);

View File

@ -33,7 +33,7 @@ export class CanvasRegion {
id: getObjectGroupId(this.layer.id(), uuidv4()),
listening: false,
});
this.objectsGroup = new Konva.Group({});
this.objectsGroup = new Konva.Group({ listening: false });
this.group.add(this.objectsGroup);
this.layer.add(this.group);