diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-09 04:04:58 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-09 04:04:58 -0400 |
| commit | d5e086e4c161e7d445f6d69faca8ffc7391ed3dd (patch) | |
| tree | ed34761543e524cd0cace6fc2e45c41b6425db00 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | b47d835d4a153faaf9c279a6eeae44569022c247 (diff) | |
fixed doc decorations on selected treeview items to not overlap as much. fixed contentFitting's screentToLocalXf which wasn't wroking for nested tempaltes with native dimensions
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 7b3e95404..6c3fb56e2 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -348,8 +348,8 @@ class TreeView extends React.Component<TreeViewProps> { const panelWidth = StrCast(Doc.LayoutField(layoutDoc)).includes("FormattedTextBox") ? this.rtfWidth : this.docWidth; return <div ref={this._dref} style={{ display: "inline-block", height: panelHeight() }} key={this.doc[Id]}> <ContentFittingDocumentView - Document={layoutDoc} - DataDoc={this.dataDoc} + Document={this.doc} + DataDoc={undefined} LibraryPath={emptyPath} renderDepth={this.props.renderDepth + 1} rootSelected={returnTrue} |
