diff options
author | bob <bcz@cs.brown.edu> | 2019-02-05 17:41:12 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-02-05 17:41:12 -0500 |
commit | 26af9562cc515627be4be8759b70ebfbab8bb83c (patch) | |
tree | f2148b4ca0aee6eecc063a9d3f65c910b404ad51 /src/views/nodes/CollectionFreeFormDocumentView.tsx | |
parent | 6e66f8b227c730e07863a93a8bce5ee0d51d2ddc (diff) |
first changes
Diffstat (limited to 'src/views/nodes/CollectionFreeFormDocumentView.tsx')
-rw-r--r-- | src/views/nodes/CollectionFreeFormDocumentView.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/views/nodes/CollectionFreeFormDocumentView.tsx b/src/views/nodes/CollectionFreeFormDocumentView.tsx index ebe6d411c..08068b384 100644 --- a/src/views/nodes/CollectionFreeFormDocumentView.tsx +++ b/src/views/nodes/CollectionFreeFormDocumentView.tsx @@ -10,6 +10,7 @@ import { ContextMenu } from "../ContextMenu"; import "./NodeView.scss"; import React = require("react"); import { DocumentView, DocumentViewProps } from "./DocumentView"; +import { WAITING } from "../../fields/Field"; @observer @@ -84,7 +85,8 @@ export class CollectionFreeFormDocumentView extends DocumentView { @computed get active(): boolean { - return SelectionManager.IsSelected(this) || this.props.ContainingCollectionView === undefined || this.props.ContainingCollectionView!.active; + return SelectionManager.IsSelected(this) || this.props.ContainingCollectionView === undefined || + (this.props.ContainingCollectionView != WAITING && this.props.ContainingCollectionView!.active); } @computed |