diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-05-23 14:59:01 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-05-23 14:59:01 -0400 |
| commit | 43818b137486f3d4431e1c3b9f4de0b0aefba9ca (patch) | |
| tree | b9ab286dbf7bfe978bccf531885c1c8ad4e2041d /src/client/views/presentationview/PresElementBox.tsx | |
| parent | 28b8ac619b8dacac1013852fe9e3d1e83724ab2e (diff) | |
several fixes to progressivization and added UI for editing by suspending transparency
Diffstat (limited to 'src/client/views/presentationview/PresElementBox.tsx')
| -rw-r--r-- | src/client/views/presentationview/PresElementBox.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/presentationview/PresElementBox.tsx b/src/client/views/presentationview/PresElementBox.tsx index 526a3dbf4..364c1d060 100644 --- a/src/client/views/presentationview/PresElementBox.tsx +++ b/src/client/views/presentationview/PresElementBox.tsx @@ -101,12 +101,11 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps, PresDoc this.rootDoc.presProgressivize = !this.rootDoc.presProgressivize; const rootTarget = Cast(this.rootDoc.presentationTargetDoc, Doc, null); const docs = DocListCast(rootTarget[Doc.LayoutFieldKey(rootTarget)]); - if (this.rootDoc.presProgressivize && !rootTarget?.lastTimecode) { + if (this.rootDoc.presProgressivize) { rootTarget.currentTimecode = 0; - CollectionFreeFormDocumentView.setupKeyframes(docs, docs.length, this.presBox); + CollectionFreeFormDocumentView.setupKeyframes(docs, docs.length, true); rootTarget.lastTimecode = docs.length - 1; } - docs.forEach((d, i) => i && numberRange(i).forEach(f => Cast(d["opacity-indexed"], listSpec("number"), [])[f] = 0)); } /** |
