diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-08 21:20:47 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-08 21:20:47 -0400 |
| commit | e50297237ee3dfa1e652c0d46cb9d860e5cd5b20 (patch) | |
| tree | f2a0a2c5bd73aeea746716d2404a584b25029265 /src/client/views/collections/CollectionStackingView.tsx | |
| parent | a60b9998dc6cd05137cf3fe46714c3069843b57b (diff) | |
fixes to make nativesize work for all collections and templates.
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 84173d3ba..a7276a962 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -209,6 +209,8 @@ export class CollectionStackingView extends CollectionSubView(StackingDocument) renderDepth={this.props.renderDepth + 1} PanelWidth={width} PanelHeight={height} + NativeWidth={this.props.childIgnoreNativeSize ? returnZero : undefined} + NativeHeight={this.props.childIgnoreNativeSize ? returnZero : undefined} fitToBox={false} dontRegisterView={dataDoc ? true : BoolCast(this.layoutDoc.dontRegisterChildViews, this.props.dontRegisterView)} rootSelected={this.rootSelected} |
