aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-12-16 12:02:52 -0500
committerbobzel <zzzman@gmail.com>2020-12-16 12:02:52 -0500
commit0426828be40e077a2d5d30597076db53a26bb81f (patch)
tree208735868f37c041e3298a87eb1984633ea93738 /src/client/views/pdf/PDFViewer.tsx
parentf54dd2851a1dd99157a4047d7d17d0c40178d30e (diff)
fixed treeView layouts to pass good values for panelWidth/height to DocumentView. renamed Selectionmanager methods to be views not documents.
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 d6d500702..02f7ada96 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -150,7 +150,7 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu
this._savedAnnotations.keys().forEach(k => this._savedAnnotations.setValue(k, []));
PDFMenu.Instance.fadeOut(true);
}
- (SelectionManager.SelectedDocuments().length === 1) && this.setupPdfJsViewer();
+ (SelectionManager.Views().length === 1) && this.setupPdfJsViewer();
},
{ fireImmediately: true });
this._disposers.scrollY = reaction(