diff options
author | bobzel <zzzman@gmail.com> | 2023-09-07 10:04:27 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-09-07 10:04:27 -0400 |
commit | 8485c5430d7feb5eee9cf3e0374afe7fbf0e60cd (patch) | |
tree | 8d94c00c702907a59546deb1d1417a91f13172a4 /src/client/views/nodes/WebBox.tsx | |
parent | 7a08e2b50696dd1063fa9ad323c8fca5c2fc5886 (diff) |
fixed removing map pins to not reappear. updated config anchors to not be added to annotations list. fixed imageBox to not pass its configs on to its parent collection when focusing.
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
-rw-r--r-- | src/client/views/nodes/WebBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx index 3acdc1883..d5b7b5dfe 100644 --- a/src/client/views/nodes/WebBox.tsx +++ b/src/client/views/nodes/WebBox.tsx @@ -341,7 +341,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps PresBox.pinDocView(anchor, { pinDocLayout: pinProps?.pinDocLayout, pinData: { ...(pinProps?.pinData ?? {}), scrollable: pinProps?.pinData ? true : false, pannable: true } }, this.rootDoc); anchor.text = ele?.textContent ?? ''; anchor.text_html = ele?.innerHTML; - (addAsAnnotation || visibleAnchor) && this.addDocumentWrapper(anchor); + addAsAnnotation && visibleAnchor && this.addDocumentWrapper(anchor); return anchor; }; |