mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
perf(ui): object groups do not listen
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user