diff options
author | yipstanley <stanley_yip@brown.edu> | 2019-06-04 13:59:04 -0400 |
---|---|---|
committer | yipstanley <stanley_yip@brown.edu> | 2019-06-04 13:59:04 -0400 |
commit | 1fb7a7bc185c1ba9bbe0f21ad5e16cf19235b2da (patch) | |
tree | 99b66de8a85e2174bfda476838ca7418b892338e /src/client/views/nodes/PDFBox.tsx | |
parent | e815a45a50e215e1a5c3ada6404226326a8530a9 (diff) |
updatesss
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 62c8e1c99..dd945b030 100644 --- a/src/client/views/nodes/PDFBox.tsx +++ b/src/client/views/nodes/PDFBox.tsx @@ -86,7 +86,7 @@ export class PDFBox extends DocComponent<FieldViewProps, PdfDocument>(PdfDocumen let classname = "pdfBox-cont" + (this.props.isSelected() && !InkingControl.Instance.selectedTool && !this._alt ? "-interactive" : ""); return ( <div onScroll={this.onScroll} style={{ overflow: "scroll", height: `${NumCast(this.props.Document.nativeWidth ? this.props.Document.nativeWidth : 300)}px` }} onWheel={(e: React.WheelEvent) => e.stopPropagation()} className={classname}> - <PDFViewer url={pdfUrl} loaded={this.loaded} scrollY={this._scrollY} /> + <PDFViewer url={pdfUrl} loaded={this.loaded} scrollY={this._scrollY} parent={this} /> </div> ); } |