diff --git a/src/mol-plugin/ui/state/update-transform.tsx b/src/mol-plugin/ui/state/update-transform.tsx index f9fb6bb9addb9d819962812f9fea84f5d6fd56a5..49ac44ba42d4ad25462cf6a9f841e483c948704a 100644 --- a/src/mol-plugin/ui/state/update-transform.tsx +++ b/src/mol-plugin/ui/state/update-transform.tsx @@ -51,7 +51,7 @@ class UpdateTransformControl extends TransformControlBase<UpdateTransformControl if (!cell || !cell.sourceRef || cell.status !== 'ok') return false; const parentCell = state.cells.get(cell.sourceRef)!; - return autoUpdate({ a: cell.obj!, b: parentCell.obj!, oldParams: this.getInfo().initialValues, newParams }, this.plugin); + return autoUpdate({ a: parentCell.obj!, b: cell.obj!, oldParams: this.getInfo().initialValues, newParams }, this.plugin); } componentDidMount() {