aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PresBox.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-05-29 01:29:02 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-05-29 01:29:02 -0400
commit895e84fe6999a39eb9553db68b378aee5c1864a3 (patch)
tree03550302a71a056e9f6d9bf7edd0032f97e40b78 /src/client/views/nodes/PresBox.tsx
parent57c4cde2fab898976deec3fd037a3c9052ee2d30 (diff)
moved frame animation into freeform chrome. fixed marquees of docs at non-zero frame. fixed pile view to use its own _pileLayoutEngine key to avoid leaving colleciton in an animated state. added toggle for snap linew views. cached transforms in CollectionFreeformView for performance.
Diffstat (limited to 'src/client/views/nodes/PresBox.tsx')
-rw-r--r--src/client/views/nodes/PresBox.tsx3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx
index 56a543f46..9f1e99c77 100644
--- a/src/client/views/nodes/PresBox.tsx
+++ b/src/client/views/nodes/PresBox.tsx
@@ -62,11 +62,8 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps, PresBoxSchema>
const lastFrame = Cast(presTargetDoc.lastFrame, "number", null);
const curFrame = NumCast(presTargetDoc.currentFrame);
if (lastFrame !== undefined && curFrame < lastFrame) {
- //const docs = DocListCast(presTargetDoc[Doc.LayoutFieldKey(presTargetDoc)]);
presTargetDoc.transition = "all 1s";
setTimeout(() => presTargetDoc.transition = undefined, 1010);
- // docs.forEach(doc => doc.transition = "all 1s");
- // setTimeout(() => docs.forEach(doc => doc.transition = undefined), 1010);
presTargetDoc.currentFrame = curFrame + 1;
}
else if (this.childDocs[this.itemIndex + 1] !== undefined) {