aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-08-26 19:17:53 -0400
committerbobzel <zzzman@gmail.com>2021-08-26 19:17:53 -0400
commit7c83bc30b3a6ed6061ef68bcef6a0e8941668b3c (patch)
treed213c1c545b6dc88e5bacc5185d5fc1fcbb5aea3 /src/client/views/nodes/PDFBox.tsx
parent7a1b11bd9d71d4b414059b6cbc0ad518011f7cdd (diff)
fixed resizing bug for web and pdf documents when doing autoheight gesture, and after opening the sidebar and then resizing
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r--src/client/views/nodes/PDFBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx
index 341fa5919..5e07229c1 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -285,6 +285,7 @@ export class PDFBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
rootDoc={this.rootDoc}
layoutDoc={this.layoutDoc}
dataDoc={this.dataDoc}
+ setHeight={emptyFunction}
nativeWidth={this._previewNativeWidth ?? NumCast(this.layoutDoc._nativeWidth)}
showSidebar={this.SidebarShown}
whenChildContentsActiveChanged={this.whenChildContentsActiveChanged}