diff options
author | bobzel <zzzman@gmail.com> | 2021-03-29 23:21:29 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-29 23:21:29 -0400 |
commit | 4ccb4dc950600cc0f73af066edc7aff31e03f8ae (patch) | |
tree | ce9adb162bbd13bdb48ceac92873b219c20bc78a /src/client/views/nodes/PDFBox.tsx | |
parent | 96fd7e51d56bdd95a9f54d61090f45cd0dd17e6a (diff) |
simplified PDFViewer to use props from PDFbox
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r-- | src/client/views/nodes/PDFBox.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx index d4cd44a61..107959ebb 100644 --- a/src/client/views/nodes/PDFBox.tsx +++ b/src/client/views/nodes/PDFBox.tsx @@ -238,6 +238,9 @@ export class PDFBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps }}> <div className="pdfBox-background" /> <PDFViewer {...this.props} + rootDoc={this.rootDoc} + layoutDoc={this.layoutDoc} + dataDoc={this.dataDoc} pdf={this._pdf!} url={this.pdfUrl!.url.pathname} isContentActive={this.isContentActive} |