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

This commit is contained in:
Yanzhen Yu
2020-07-19 08:54:18 +08:00
parent ad32b8be8d
commit 6cf3253d94

View File

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