|
@@ -162,7 +162,7 @@ class State {
|
|
return cell && cell.obj;
|
|
return cell && cell.obj;
|
|
}
|
|
}
|
|
} finally {
|
|
} finally {
|
|
- this.spine.setSurrent();
|
|
|
|
|
|
+ this.spine.setCurrent();
|
|
|
|
|
|
if (updated) this.events.changed.next();
|
|
if (updated) this.events.changed.next();
|
|
this.events.isUpdating.next(false);
|
|
this.events.isUpdating.next(false);
|
|
@@ -607,7 +607,7 @@ async function updateNode(ctx: UpdateContext, currentRef: Ref): Promise<UpdateNo
|
|
throw new Error(`No suitable parent found for '${currentRef}'`);
|
|
throw new Error(`No suitable parent found for '${currentRef}'`);
|
|
}
|
|
}
|
|
|
|
|
|
- ctx.spine.setSurrent(current);
|
|
|
|
|
|
+ ctx.spine.setCurrent(current);
|
|
|
|
|
|
const parent = parentCell.obj!;
|
|
const parent = parentCell.obj!;
|
|
current.sourceRef = parentCell.transform.ref;
|
|
current.sourceRef = parentCell.transform.ref;
|