From 1b3b03b304b52662dc78fe50c37b821945454ebf Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 3 Jan 2024 23:46:19 -0500 Subject: made turning off infoUI persistent. --- .../views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 0128647a4..a3cedb9a0 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1435,9 +1435,8 @@ export class CollectionFreeFormView extends CollectionSubView (this._hideInfo = true); - infoUI = () => (this._hideInfo || this.Document.annotationOn || this._props.renderDepth ? null : ); + @action closeInfo = () => (this.Document._hideInfo = true); + infoUI = () => (this.Document._hideInfo || this.Document.annotationOn || this._props.renderDepth ? null : ); componentDidMount() { this._props.setContentView?.(this); -- cgit v1.2.3-70-g09d2