mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(ui): update parent's pos not transformers
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user