diff options
| author | bobzel <zzzman@gmail.com> | 2021-02-04 16:18:35 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-02-04 16:18:35 -0500 |
| commit | 09e6a1f83de643437d03deac57e1cdebc68d6140 (patch) | |
| tree | b6cf2c9df252bdc50ad64131309524ac965f0961 /src/client/views/pdf/PDFViewer.tsx | |
| parent | 0590890a43a6ab4fe141324ad04e5cae59333f31 (diff) | |
fixed marquee annotations for web/pdf when scrolled
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
| -rw-r--r-- | src/client/views/pdf/PDFViewer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx index cffa9686b..eadf58027 100644 --- a/src/client/views/pdf/PDFViewer.tsx +++ b/src/client/views/pdf/PDFViewer.tsx @@ -576,7 +576,7 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu {this.overlayInfo} {this.standinViews} {!this._marqueeing || !this._mainCont.current || !this._annotationLayer.current ? (null) : - <MarqueeAnnotator rootDoc={this.rootDoc} down={this._marqueeing} addDocument={this.addDocument} finishMarquee={this.finishMarquee} getPageFromScroll={this.getPageFromScroll} savedAnnotations={this._savedAnnotations} annotationLayer={this._annotationLayer.current} mainCont={this._mainCont.current} />} + <MarqueeAnnotator rootDoc={this.rootDoc} scrollTop={0} down={this._marqueeing} addDocument={this.addDocument} finishMarquee={this.finishMarquee} getPageFromScroll={this.getPageFromScroll} savedAnnotations={this._savedAnnotations} annotationLayer={this._annotationLayer.current} mainCont={this._mainCont.current} />} </div >; } }
\ No newline at end of file |
