aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/WebBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-07-14 09:47:18 -0400
committerbobzel <zzzman@gmail.com>2021-07-14 09:47:18 -0400
commit7995c8b9b810df4ed5ade1db71fcb0e2de3d3da2 (patch)
treeccad04e130f8ac6e0c73198db9a343ed7ff7b386 /src/client/views/nodes/WebBox.tsx
parent9980ea76280021e37edecb3364e1ef630ce10d58 (diff)
fixed selections so that they persist on deselect to allow linking a selection on one document directly to a selection on another document. Also fixed recently closed to move closed document to top of list.
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
-rw-r--r--src/client/views/nodes/WebBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx
index a16881b66..5791e2310 100644
--- a/src/client/views/nodes/WebBox.tsx
+++ b/src/client/views/nodes/WebBox.tsx
@@ -176,7 +176,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
getAnchor = () => {
const anchor =
- AnchorMenu.Instance?.GetAnchor() ??
+ AnchorMenu.Instance?.GetAnchor(this._savedAnnotations) ??
Docs.Create.TextanchorDocument({
title: StrCast(this.rootDoc.title + " " + this.layoutDoc._scrollTop),
annotationOn: this.rootDoc,