aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-12-05 22:46:30 -0500
committerbobzel <zzzman@gmail.com>2022-12-05 22:46:30 -0500
commitabb815f3140ff3ded69aa6d9fd4505d6149eb29f (patch)
treeb25581042ea45ef33cb2a1685e4b3079100a9786
parent613daac016c367205ff1afddd81b7b9111c52d33 (diff)
from last
-rw-r--r--src/client/views/nodes/trails/PresBox.tsx1
1 files changed, 1 insertions, 0 deletions
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<FieldViewProps>() {
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) => {