mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
perf(ui): object groups do not listen
This commit is contained in:
parent
6d936a7c44
commit
03ea005e9c
@ -33,7 +33,7 @@ export class CanvasInpaintMask {
|
|||||||
id: getObjectGroupId(this.layer.id(), uuidv4()),
|
id: getObjectGroupId(this.layer.id(), uuidv4()),
|
||||||
listening: false,
|
listening: false,
|
||||||
});
|
});
|
||||||
this.objectsGroup = new Konva.Group({});
|
this.objectsGroup = new Konva.Group({ listening: false });
|
||||||
this.group.add(this.objectsGroup);
|
this.group.add(this.objectsGroup);
|
||||||
this.layer.add(this.group);
|
this.layer.add(this.group);
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ export class CanvasLayer {
|
|||||||
id: getObjectGroupId(this.layer.id(), uuidv4()),
|
id: getObjectGroupId(this.layer.id(), uuidv4()),
|
||||||
listening: false,
|
listening: false,
|
||||||
});
|
});
|
||||||
this.objectsGroup = new Konva.Group({});
|
this.objectsGroup = new Konva.Group({ listening: false });
|
||||||
this.group.add(this.objectsGroup);
|
this.group.add(this.objectsGroup);
|
||||||
this.layer.add(this.group);
|
this.layer.add(this.group);
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ export class CanvasRegion {
|
|||||||
id: getObjectGroupId(this.layer.id(), uuidv4()),
|
id: getObjectGroupId(this.layer.id(), uuidv4()),
|
||||||
listening: false,
|
listening: false,
|
||||||
});
|
});
|
||||||
this.objectsGroup = new Konva.Group({});
|
this.objectsGroup = new Konva.Group({ listening: false });
|
||||||
this.group.add(this.objectsGroup);
|
this.group.add(this.objectsGroup);
|
||||||
this.layer.add(this.group);
|
this.layer.add(this.group);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user