From 6cf3253d9458e1d05441d45a27200d31e5af13a3 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Sun, 19 Jul 2020 08:54:18 +0800 Subject: [PATCH] close #254 hotfix: only use virtual parent in sync mode --- src/replay/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replay/index.ts b/src/replay/index.ts index ee47dcfc..f0129b2f 100644 --- a/src/replay/index.ts +++ b/src/replay/index.ts @@ -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: