diff options
| author | Aubrey Li <Aubrey-Li> | 2022-04-05 16:17:51 -0400 |
|---|---|---|
| committer | Aubrey Li <Aubrey-Li> | 2022-04-05 16:17:51 -0400 |
| commit | 4cb2fc6f0a173939b5ee51ff2d6548058799facd (patch) | |
| tree | 2f6aa087c2b2eaf51a03fc30548371afbabc2855 /src/client/views/pdf/PDFViewer.tsx | |
| parent | 9a35bde069a28f53b4ecf668a066d7c94e63cce2 (diff) | |
| parent | 8f6a065c192c091393e654bdac682c285a63ad8f (diff) | |
merge master
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
| -rw-r--r-- | src/client/views/pdf/PDFViewer.tsx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx index 1856c5353..651b0401b 100644 --- a/src/client/views/pdf/PDFViewer.tsx +++ b/src/client/views/pdf/PDFViewer.tsx @@ -580,14 +580,17 @@ export class PDFViewer extends React.Component<IViewerProps> { {this.overlayInfo} {this.standinViews} {!this._marqueeing || !this._mainCont.current || !this._annotationLayer.current ? (null) : - <MarqueeAnnotator rootDoc={this.props.rootDoc} scrollTop={0} down={this._marqueeing} + <MarqueeAnnotator rootDoc={this.props.rootDoc} + getPageFromScroll={this.getPageFromScroll} anchorMenuClick={this.props.anchorMenuClick} + scrollTop={0} + down={this._marqueeing} addDocument={(doc: Doc | Doc[]) => this.props.addDocument!(doc)} - finishMarquee={this.finishMarquee} docView={this.props.docViewPath().lastElement()} - getPageFromScroll={this.getPageFromScroll} + finishMarquee={this.finishMarquee} savedAnnotations={this._savedAnnotations} - annotationLayer={this._annotationLayer.current} mainCont={this._mainCont.current} />} + annotationLayer={this._annotationLayer.current} + mainCont={this._mainCont.current} />} </div> </div>; } |
