diff options
author | bobzel <zzzman@gmail.com> | 2020-09-19 13:06:32 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-19 13:06:32 -0400 |
commit | 743cc8b98549dddd4fe5caaa9740caf95a57d56e (patch) | |
tree | 272187d5b290c8e68e9405b6f3c6343a2a322312 /src/client/views/nodes/PDFBox.tsx | |
parent | 7a12eccf31f0a04800b0ddd47cd18fcbcfcadb93 (diff) |
fixed typo that prevented text from being selected. Testing out change to make PDFs always live.
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r-- | src/client/views/nodes/PDFBox.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx index b199111f9..756ff43f2 100644 --- a/src/client/views/nodes/PDFBox.tsx +++ b/src/client/views/nodes/PDFBox.tsx @@ -267,7 +267,9 @@ export class PDFBox extends ViewBoxAnnotatableComponent<FieldViewProps, PdfDocum render() { TraceMobx(); const pdfUrl = Cast(this.dataDoc[this.props.fieldKey], PdfField, null); - if (this.props.isSelected() || (this.props.active() && this.props.renderDepth === 0) || this.props.Document._scrollY !== undefined) this._everActive = true; + if (true) {//this.props.isSelected() || (this.props.active() && this.props.renderDepth === 0) || this.props.Document._scrollY !== undefined) { + this._everActive = true; + } if (pdfUrl && this._everActive) { if (pdfUrl instanceof PdfField && this._pdf) { return this.renderPdfView; |