From abb815f3140ff3ded69aa6d9fd4505d6149eb29f Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 5 Dec 2022 22:46:30 -0500 Subject: from last --- src/client/views/nodes/trails/PresBox.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx index 169f51dac..3b9a913f7 100644 --- a/src/client/views/nodes/trails/PresBox.tsx +++ b/src/client/views/nodes/trails/PresBox.tsx @@ -532,6 +532,7 @@ export class PresBox extends ViewBoxBaseComponent() { this.rootDoc.presStatus = presStatus; this.clearSelectedArray(); selViewCache.forEach(doc => this.addToSelectedArray(doc)); + this._dragArray.splice(0, this._dragArray.length, ...dragViewCache); this._eleArray.splice(0, this._eleArray.length, ...eleViewCache); }); const createDocView = (doc: Doc, finished?: () => void) => { -- cgit v1.2.3-70-g09d2