diff options
author | bobzel <zzzman@gmail.com> | 2021-01-19 15:02:03 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-01-19 15:02:03 -0500 |
commit | 8538a83baf57d7015b62b4ebc22d2bd7318f9d16 (patch) | |
tree | 7791f2514df785a3a14cf866e7ba47305be88526 /src/client/views/pdf/PDFViewer.tsx | |
parent | 28bed25b20f2882cb40e616e2ecdd7cf0793e105 (diff) |
fixed isPushpin annotation behavior outside of PDFs. fixed link follow highlighting to go away when target is hidden.
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r-- | src/client/views/pdf/PDFViewer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx index 26f936c66..f9139220b 100644 --- a/src/client/views/pdf/PDFViewer.tsx +++ b/src/client/views/pdf/PDFViewer.tsx @@ -388,7 +388,7 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu this._marqueeing = [e.clientX, e.clientY]; // if texLayer is hit, then we select text instead of using a marquee } else { // clear out old marquees and initialize menu for new selection - PDFMenu.Instance.Status = "pdf"; + PDFMenu.Instance.Status = "marquee"; PDFMenu.Instance.fadeOut(true); this._savedAnnotations.values().forEach(v => v.forEach(a => a.remove())); this._savedAnnotations.clear(); |