aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-11-05 09:53:38 -0500
committerbobzel <zzzman@gmail.com>2020-11-05 09:53:38 -0500
commit38912acdfe5d52ab068bb11d05e1767ecc5d56ac (patch)
treeb869aaa381ad95858221c6d4983ef28086f60707 /src/client/views/pdf
parent4becefec2200632b482b7660bd3bb0792a4ba1d8 (diff)
fixed layer ordering of annotaitons and overlays on PDFs so that overlays are always on top. made textLayer on PDFs display:none when not-selected to try to improve rendering.
Diffstat (limited to 'src/client/views/pdf')
-rw-r--r--src/client/views/pdf/PDFViewer.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index 76b218972..48c7b1762 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -792,8 +792,8 @@ export class PDFViewer extends ViewBoxAnnotatableComponent<IViewerProps, PdfDocu
transform: `scale(${this.props.ContentScaling()})`
}} >
{this.pdfViewerDiv}
- {this.overlayLayer}
{this.annotationLayer}
+ {this.overlayLayer}
{this.overlayInfo}
{this.standinViews}
<PdfViewerMarquee isMarqueeing={this.marqueeing} width={this.marqueeWidth} height={this.marqueeHeight} x={this.marqueeX} y={this.marqueeY} />