diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-05-04 00:28:52 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-05-04 00:28:52 -0400 |
commit | 1027f0b2e40df0ca13dfa2db97f278e804dadb68 (patch) | |
tree | bd900848fe3abddea5a691e7b621895215022916 | |
parent | 2ebb8e1edf715d132e60360e05ee3ea6ea361080 (diff) |
fixed warning
-rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index b2401e69e..2aa9b1f5f 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -857,7 +857,7 @@ export class CollectionFreeFormView extends CollectionSubView<PanZoomDocument, P @computed get onChildDoubleClickHandler() { return this.props.childDoubleClickScript || ScriptCast(this.Document.onChildDoubleClick); } @computed get backgroundActive() { return this.layoutDoc.isBackground && (this.props.ContainingCollectionView?.active() || this.props.active()); } backgroundHalo = () => BoolCast(this.Document.useClusters); - parentActive = () => this.props.active() || this.backgroundActive ? true : false; + parentActive = (outsideReaction: boolean) => this.props.active(outsideReaction) || this.backgroundActive ? true : false; getChildDocumentViewProps(childLayout: Doc, childData?: Doc): DocumentViewProps { return { ...this.props, |