diff options
author | bobzel <zzzman@gmail.com> | 2021-02-12 12:17:44 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-02-12 12:17:44 -0500 |
commit | d0607264d955d90eca8178d5bfbc6a72f47fa872 (patch) | |
tree | 3320a09e7f113f87dfbb1b7d9155605fa7a3f1b1 /src/client/views/nodes/PDFBox.tsx | |
parent | 4a9d6d1409327fd99c5f554caebd917a316db32b (diff) |
fixed subtle bug with lightbox inadvertently clearing out childDoc list of a collection. added shift-double-cllick to open collection in lightbox.
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r-- | src/client/views/nodes/PDFBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx index f8d222798..c20d958ff 100644 --- a/src/client/views/nodes/PDFBox.tsx +++ b/src/client/views/nodes/PDFBox.tsx @@ -80,7 +80,7 @@ export class PDFBox extends ViewBoxAnnotatableComponent<FieldViewProps, PdfDocum } } - scrollFocus = (doc: Doc, smooth: boolean, willZoom?: boolean, scale?: number, afterFocus?: DocAfterFocusFunc) => this._pdfViewer?.scrollFocus(doc, smooth, willZoom, scale, afterFocus); + scrollFocus = (doc: Doc, smooth: boolean) => this._pdfViewer?.scrollFocus(doc, smooth); getAnchor = () => this.rootDoc; componentWillUnmount() { this._selectReactionDisposer?.(); } componentDidMount() { |