From e369336c413a337e02afc027cc1aecdd76a496c5 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 20 Jan 2021 23:36:16 -0500 Subject: fixed hiding AnchorMenu in text boxes. encapsulated fadeOut of AnchorMenu within class for simplicity. --- src/client/views/pdf/PDFViewer.tsx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/client/views/pdf/PDFViewer.tsx') 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 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 v.forEach(a => a.remove())); this._savedAnnotations.clear(); this._styleRule = addStyleSheetRule(PDFViewer._annotationStyle, "pdfAnnotation", { "pointer-events": "none" }); -- cgit v1.2.3-70-g09d2