aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-12-13 18:05:45 -0500
committerbobzel <zzzman@gmail.com>2020-12-13 18:05:45 -0500
commit9af7025b7c9e6181843594f5179166556041234c (patch)
treec6b15ab4801107db5be75dfca4afe1cc77479aaf /src/client/views/nodes/PDFBox.tsx
parent7f39c20eefaa25b5e82d09c7cedd8ebd1b24af3f (diff)
removed ContentScaling={returnOne} from a lot of places
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r--src/client/views/nodes/PDFBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx
index 18ded4f3b..262e61c9b 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -192,7 +192,7 @@ export class PDFBox extends ViewBoxAnnotatableComponent<FieldViewProps, PdfDocum
</div>;
}
- contentScaling = () => this.props.DocumentView?.props.ContentScaling() || 1;
+ contentScaling = () => this.props.scaling?.() || 1;
isChildActive = (outsideReaction?: boolean) => this._isChildActive;
@computed get renderPdfView() {
TraceMobx();