diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-11 19:51:08 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-11 19:51:08 -0400 |
| commit | bfd2769ccce8db190913d9a9fcb6f8f3cac75935 (patch) | |
| tree | 267a7a4480e9595ca43c51060e9ec58d4e48e2a7 /src/client/views/nodes/PresBox.tsx | |
| parent | b81ad33b746387dc785580b719866f479fbd9b30 (diff) | |
fixed warnings and fixed focus on slide
Diffstat (limited to 'src/client/views/nodes/PresBox.tsx')
| -rw-r--r-- | src/client/views/nodes/PresBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx index b23dffe80..b0563c373 100644 --- a/src/client/views/nodes/PresBox.tsx +++ b/src/client/views/nodes/PresBox.tsx @@ -1449,8 +1449,8 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps, PresBoxSchema> let count = 0; const setupProgressivize = (doc: Doc) => { CollectionFreeFormDocumentView.setupKeyframes([doc], count++, true); - targetDoc.treeViewOutlineMode && DocListCast(doc[Doc.LayoutFieldKey(doc)]).forEach(d => setupProgressivize(d)); - } + targetDoc.treeViewOutlineMode && DocListCast(doc[Doc.LayoutFieldKey(doc)]).forEach(setupProgressivize); + }; setupProgressivize(targetDoc); targetDoc.lastFrame = count; } else { |
