diff options
| author | bobzel <zzzman@gmail.com> | 2023-11-19 11:55:52 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-11-19 11:55:52 -0500 |
| commit | 95ca3c2419a760970d56a4af656b28c4f3b6c073 (patch) | |
| tree | d8afa191064d09cffce31eb912e0cb3fea915d62 /src/client/views/MarqueeAnnotator.tsx | |
| parent | 2b0e4ccc096998eb1d727f2e85ea8c1a63b27e08 (diff) | |
fixed creating anchors when pinning pdf/web/text doc with selection. fixed showing selected text overlay for text docs.
Diffstat (limited to 'src/client/views/MarqueeAnnotator.tsx')
| -rw-r--r-- | src/client/views/MarqueeAnnotator.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/MarqueeAnnotator.tsx b/src/client/views/MarqueeAnnotator.tsx index 0987b0867..10d2d8568 100644 --- a/src/client/views/MarqueeAnnotator.tsx +++ b/src/client/views/MarqueeAnnotator.tsx @@ -210,7 +210,7 @@ export class MarqueeAnnotator extends React.Component<MarqueeAnnotatorProps> { // creates annotation documents for current highlights const effectiveAcl = GetEffectiveAcl(this.props.rootDoc[DocData]); const annotationDoc = [AclAugment, AclSelfEdit, AclEdit, AclAdmin].includes(effectiveAcl) && this.makeAnnotationDocument(color, isLinkButton, savedAnnotations); - addAsAnnotation && !savedAnnotations && annotationDoc && this.props.addDocument(annotationDoc); + addAsAnnotation && annotationDoc && this.props.addDocument(annotationDoc); return annotationDoc as Doc; }; |
