diff options
author | bobzel <zzzman@gmail.com> | 2021-03-03 13:15:36 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-03 13:15:36 -0500 |
commit | c38c7966539cc97e98dd2f836420ca8863bd35fb (patch) | |
tree | ae7ce3cf0956bf945704d7716cfaecdb27ec8335 /src/client/views/collections/CollectionTreeView.tsx | |
parent | 0ecae858ea0892a065c262819b9275e94f8f591e (diff) |
more fixes for setting up user docs
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 146b3cd37..9cc7b4649 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -1,7 +1,15 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { action, computed } from "mobx"; import { observer } from "mobx-react"; -import { DataSym, Doc, DocListCast, HeightSym, Opt, WidthSym } from '../../../fields/Doc'; +import { + DataSym, + Doc, + DocListCast, + HeightSym, + Opt, + WidthSym, + NativeWidth +} from '../../../fields/Doc'; import { Id } from '../../../fields/FieldSymbols'; import { List } from '../../../fields/List'; import { Document } from '../../../fields/Schema'; @@ -172,6 +180,8 @@ export class CollectionTreeView extends CollectionSubView<Document, Partial<coll layerProvider={this.props.layerProvider} PanelWidth={this.rtfWidth} PanelHeight={this.rtfOutlineHeight} + NativeWidth={this.rtfWidth} + NativeHeight={this.rtfOutlineHeight} focus={this.props.focus} ScreenToLocalTransform={this.titleTransform} docFilters={returnEmptyFilter} |