aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionMenu.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-02-22 19:31:43 -0500
committerbobzel <zzzman@gmail.com>2023-02-22 19:31:43 -0500
commitc7878fc9b8df619d77c1323725022997d93c9789 (patch)
tree0b6475ff855033627da8062d1082f049a6fd75ec /src/client/views/collections/CollectionMenu.tsx
parent3e93857b4dfdc09a4dce7ec12ca0dbc60b727fb1 (diff)
capture viewType as part of pinning a document/making an anchor to simplify VIewSpec restoration
Diffstat (limited to 'src/client/views/collections/CollectionMenu.tsx')
-rw-r--r--src/client/views/collections/CollectionMenu.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionMenu.tsx b/src/client/views/collections/CollectionMenu.tsx
index 17f02711d..c83f4e689 100644
--- a/src/client/views/collections/CollectionMenu.tsx
+++ b/src/client/views/collections/CollectionMenu.tsx
@@ -746,7 +746,7 @@ export class CollectionFreeFormViewChrome extends React.Component<CollectionView
const currentFrame = Cast(this.document._currentFrame, 'number', null);
if (currentFrame === undefined) {
this.document._currentFrame = 0;
- CollectionFreeFormDocumentView.setupKeyframes(this.c hildDocs, 0);
+ CollectionFreeFormDocumentView.setupKeyframes(this.childDocs, 0);
}
this._keyTimer = CollectionFreeFormView.updateKeyframe(this._keyTimer, [...this.childDocs, this.document], currentFrame || 0);
this.document._currentFrame = Math.max(0, (currentFrame || 0) + 1);