diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-07-04 00:17:15 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-07-04 00:17:15 -0400 |
| commit | 575ee72cd6ddd65d6c02c6f50a3266f632b1b858 (patch) | |
| tree | cd5836aca60a5d9537c97f2e0d13f12f38fa5e04 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | b99e6418eb2c39f91befb002477267699d545683 (diff) | |
highlights current workspace in treeview
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 622ba37d1..3db786043 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -217,7 +217,8 @@ class TreeView extends React.Component<TreeViewProps> { return <> <div className="docContainer" id={`docContainer-${this.props.parentKey}`} ref={reference} onPointerDown={onItemDown} style={{ - background: BoolCast(this.props.document.protoBrush, false) ? "#06123232" : BoolCast(this.props.document.libraryBrush, false) ? "#06121212" : "0", + background: BoolCast(this.props.document.libraryBrush, false) ? "#06121212" : "0", + outline: BoolCast(this.props.document.workspaceBrush, false) ? "dashed 1px #06123232" : undefined, pointerEvents: this.props.active() || SelectionManager.GetIsDragging() ? "all" : "none" }} > |
