diff options
author | anika <anika.ahluwalia@gmail.com> | 2021-01-27 20:35:50 -0500 |
---|---|---|
committer | anika <anika.ahluwalia@gmail.com> | 2021-01-27 20:35:50 -0500 |
commit | 8a44fab7131c713937d92c2ac29265d4e2bd54d5 (patch) | |
tree | 74e24dddb475feb05a3dc71b1c10a9a56b65c623 /src/client/views/pdf/PDFViewer.tsx | |
parent | 7941773a61573db14cbf425d07ab0ff9b8ce5d33 (diff) | |
parent | e3db0536ad0086a328ee353be1c4dfd34ba03e02 (diff) |
Merge branch 'filters' of https://github.com/browngraphicslab/Dash-Web into filters
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r-- | src/client/views/pdf/PDFViewer.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx index f2052d454..fa97bde3f 100644 --- a/src/client/views/pdf/PDFViewer.tsx +++ b/src/client/views/pdf/PDFViewer.tsx @@ -137,7 +137,6 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu if (!selected) { this._savedAnnotations.values().forEach(v => v.forEach(a => a.remove())); this._savedAnnotations.keys().forEach(k => this._savedAnnotations.setValue(k, [])); - AnchorMenu.Instance.fadeOut(true); } (SelectionManager.Views().length === 1) && this.setupPdfJsViewer(); }, @@ -389,7 +388,6 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu } else { // clear out old marquees and initialize menu for new selection AnchorMenu.Instance.Status = "marquee"; - AnchorMenu.Instance.fadeOut(true); this._savedAnnotations.values().forEach(v => v.forEach(a => a.remove())); this._savedAnnotations.clear(); this._styleRule = addStyleSheetRule(PDFViewer._annotationStyle, "pdfAnnotation", { "pointer-events": "none" }); |