close #254 hotfix: only use virtual parent in sync mode

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 6c87b03e0d
commit 98f08f333c

View File

@@ -447,7 +447,7 @@ export class Replayer {
d.attributes.forEach((m) => this.treeIndex.attribute(m)); d.attributes.forEach((m) => this.treeIndex.attribute(m));
d.removes.forEach((m) => this.treeIndex.remove(m)); d.removes.forEach((m) => this.treeIndex.remove(m));
} }
this.applyMutation(d, true); this.applyMutation(d, isSync);
break; break;
} }
case IncrementalSource.MouseMove: case IncrementalSource.MouseMove: