diff options
| author | bob <bcz@cs.brown.edu> | 2019-08-23 17:41:11 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-08-23 17:41:11 -0400 |
| commit | 9fb7008b5cce6fd8973ec48cf6b067f3c4cfd363 (patch) | |
| tree | a3d4e221e7cb6ce91f27b04513269e4d4634adfb /src/client/views/collections/CollectionTreeView.tsx | |
| parent | 538187907421057212eca1eadbe07c8b79705d1d (diff) | |
fixed documents disappearing without an x/y, fixed dropping something onto textbox making it a template, fixed treeview to show minimized documents.
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 7e1aacd5d..6e284a76f 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -373,6 +373,7 @@ class TreeView extends React.Component<TreeViewProps> { return <> <div className="docContainer" id={`docContainer-${this.props.parentKey}`} ref={reference} onPointerDown={onItemDown} style={{ + color: this.props.document.isMinimized ? "red" : "black", background: Doc.IsBrushed(this.props.document) ? "#06121212" : "0", outline: BoolCast(this.props.document.workspaceBrush) ? "dashed 1px #06123232" : undefined, pointerEvents: this.props.active() || SelectionManager.GetIsDragging() ? "all" : "none" |
