diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-08 19:26:24 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-08 19:26:24 -0400 |
| commit | 483a4d35ba2c522b889c7bd9b839a0af131ec0bb (patch) | |
| tree | 3a0884933242089a38d37931fbb40253e7353ab7 /src/client/views/collections/CollectionSubView.tsx | |
| parent | 1f1ecb0b86d166c67388e560c6716079e16ea962 (diff) | |
updated the way NativeWidth/Height props work so that, when specified, they override locally specified values
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index 4a8d66050..8e4c89922 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -31,8 +31,8 @@ export interface CollectionViewProps extends FieldViewProps { setPreviewCursor?: (func: (x: number, y: number, drag: boolean) => void) => void; rootSelected: (outsideReaction?: boolean) => boolean; fieldKey: string; - NativeWidth: () => number; - NativeHeight: () => number; + NativeWidth?: () => number; + NativeHeight?: () => number; } export interface SubCollectionViewProps extends CollectionViewProps { |
