fix(ui): update parent's pos not transformers

This commit is contained in:
psychedelicious 2024-08-01 20:55:36 +10:00
parent 8d3a8178da
commit 94f298a6f4

View File

@ -247,7 +247,7 @@ export class CanvasTransformer {
};
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) => {