mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): update parent's pos not transformers
This commit is contained in:
parent
8d3a8178da
commit
94f298a6f4
@ -247,7 +247,7 @@ export class CanvasTransformer {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.log.trace({ position }, 'Position changed');
|
this.log.trace({ position }, 'Position changed');
|
||||||
this.manager.stateApi.onPosChanged({ id: this.id, position }, 'layer');
|
this.manager.stateApi.onPosChanged({ id: this.parent.id, position }, 'layer');
|
||||||
});
|
});
|
||||||
|
|
||||||
this.manager.stateApi.onShiftChanged((isPressed) => {
|
this.manager.stateApi.onShiftChanged((isPressed) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user