diff options
author | bobzel <zzzman@gmail.com> | 2024-04-01 20:43:16 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-04-01 20:43:16 -0400 |
commit | efcfafdf9c3bd16c208c995d0d8ee1fa6ccae880 (patch) | |
tree | 8e84e1cfa53216285b9f3105fc604c977cecbafb /src | |
parent | 75cbf3ffc1893d02b48ef65ec834e9ae597398bf (diff) |
fixed tab views to suppress setting height if doc is fitWidth
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/TabDocView.tsx | 1 |
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} |