aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-04-01 20:43:16 -0400
committerbobzel <zzzman@gmail.com>2024-04-01 20:43:16 -0400
commitefcfafdf9c3bd16c208c995d0d8ee1fa6ccae880 (patch)
tree8e84e1cfa53216285b9f3105fc604c977cecbafb /src
parent75cbf3ffc1893d02b48ef65ec834e9ae597398bf (diff)
fixed tab views to suppress setting height if doc is fitWidth
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/TabDocView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx
index 3ff58c326..5cb7b149b 100644
--- a/src/client/views/collections/TabDocView.tsx
+++ b/src/client/views/collections/TabDocView.tsx
@@ -465,6 +465,7 @@ export class TabDocView extends ObservableReactComponent<TabDocViewProps> {
addDocument={undefined}
removeDocument={this.remDocTab}
addDocTab={this.addDocTab}
+ suppressSetHeight={this._document._layout_fitWidth ? true : false}
ScreenToLocalTransform={this.ScreenToLocalTransform}
dontCenter={'y'}
whenChildContentsActiveChanged={this.whenChildContentActiveChanges}