aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-03 12:44:58 -0400
committerbobzel <zzzman@gmail.com>2020-09-03 12:44:58 -0400
commit69868b04b7d2ffcf12aed0ca1b724d9596456c80 (patch)
tree7428c84a20c70f94849bfea2a30cbd5abc638c03 /src/client/views/pdf/PDFViewer.tsx
parent58a211ee9d9b2650121399fd134012e0bd2c6c1e (diff)
made import stack non-selectable
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r--src/client/views/pdf/PDFViewer.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index 0a52f6ad5..78576657c 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -607,7 +607,7 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu
dragComplete: e => {
if (!e.aborted && e.annoDragData && !e.annoDragData.linkedToDoc) {
const link = DocUtils.MakeLink({ doc: annotationDoc }, { doc: e.annoDragData.dropDocument }, "Annotation");
- annotationDoc.isLinkButton = true;
+ annotationDoc.isLinkButton = true; // prevents link button fro showing up --- maybe not a good thing?
if (link) Doc.GetProto(link).followLinkLocation = "default";
}
}