diff options
| author | bobzel <zzzman@gmail.com> | 2021-12-07 11:23:36 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-12-07 11:23:36 -0500 |
| commit | 639eb465369f89dc541dfbeeaed34dfe133a8810 (patch) | |
| tree | 017cb00e7d5d9565de0a8794a912ef69bbb392e1 /src/client/views/collections/CollectionView.tsx | |
| parent | 4bad9d544879f5d59becb2c0e22c9ff5800f2890 (diff) | |
restored keeping properties pane open when selection changes. added Doc paraemter to fitWidth() prop function. split MapBoxInfoWindow out of MapBox and added an Add Note button.
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index 510ec6ba9..f66bac20e 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -70,7 +70,7 @@ export interface CollectionViewProps extends FieldViewProps { children?: never | (() => JSX.Element[]) | React.ReactNode; childDocuments?: Doc[]; // used to override the documents shown by the sub collection to an explicit list (see LinkBox) childDocumentsActive?: () => boolean;// whether child documents can be dragged if collection can be dragged (eg., in a when a Pile document is in startburst mode) - childFitWidth?: () => boolean; + childFitWidth?: (child: Doc) => boolean; childShowTitle?: () => string; childOpacity?: () => number; childContextMenuItems?: () => { script: ScriptField, label: string }[]; |
