From efcfafdf9c3bd16c208c995d0d8ee1fa6ccae880 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 1 Apr 2024 20:43:16 -0400 Subject: fixed tab views to suppress setting height if doc is fitWidth --- src/client/views/collections/TabDocView.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 { addDocument={undefined} removeDocument={this.remDocTab} addDocTab={this.addDocTab} + suppressSetHeight={this._document._layout_fitWidth ? true : false} ScreenToLocalTransform={this.ScreenToLocalTransform} dontCenter={'y'} whenChildContentsActiveChanged={this.whenChildContentActiveChanges} -- cgit v1.2.3-70-g09d2