aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2023-08-17 16:14:53 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2023-08-17 16:14:53 -0400
commitd3ecace5f03233e5d5ab2354c3f482418287ca9a (patch)
tree5d065abd9151d2588f14da387f0b8074afb70d0f /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
parent7fe84ba95c30a082f5146e684d0c31b61ec676df (diff)
broken version
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 29122cb91..f353dfab7 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -1599,6 +1599,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
() => this.rootDoc.fitContentOnce,
fitContentOnce => {
if (fitContentOnce) this.fitContentOnce();
+ this.rootDoc.fitContentOnce = false;
},
{ fireImmediately: true, name: 'fitContent' }
);