aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MarqueeAnnotator.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-12-29 02:08:29 -0500
committerbobzel <zzzman@gmail.com>2023-12-29 02:08:29 -0500
commitbc8d4b46cdc836cbd59527ebfd1d891949d6e5ff (patch)
tree9b52ac95ff5ef145f0f7b7c2fc170e90498f7a43 /src/client/views/MarqueeAnnotator.tsx
parent865478933af8166cb699cbe4a2653aa52423dedb (diff)
fixed displaying zoomed text annotations when following links/trails and for PDFs/Web pages with selected text.
Diffstat (limited to 'src/client/views/MarqueeAnnotator.tsx')
-rw-r--r--src/client/views/MarqueeAnnotator.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/MarqueeAnnotator.tsx b/src/client/views/MarqueeAnnotator.tsx
index 285476b14..3eb43dacf 100644
--- a/src/client/views/MarqueeAnnotator.tsx
+++ b/src/client/views/MarqueeAnnotator.tsx
@@ -125,6 +125,7 @@ export class MarqueeAnnotator extends ObservableReactComponent<MarqueeAnnotatorP
textRegionAnnoProto.width = Math.max(maxX, 0) - Math.max(minX, 0);
// mainAnnoDocProto.text = this._selectionText;
textRegionAnnoProto.text_inlineAnnotations = new List<Doc>(annoDocs);
+ textRegionAnnoProto.layout_unrendered = true;
savedAnnoMap.clear();
return textRegionAnno;
};