aboutsummaryrefslogtreecommitdiff
path: root/timeline.ts
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-05-24 11:26:11 +0200
committerlonkaars <loek@pipeframe.xyz>2021-05-24 11:26:11 +0200
commit5e07224b4bf5010b96f745441b6ee4c213d3fb81 (patch)
tree812132ad39d4a56ae9a1529ceb9c9ff69efe1109 /timeline.ts
parent221efd26e676ca86aa6f9058d7f7d082e1b87e94 (diff)
dragging keyframe affects timeline :tada:
Diffstat (limited to 'timeline.ts')
-rw-r--r--timeline.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/timeline.ts b/timeline.ts
index 764bc7a..5d0f51c 100644
--- a/timeline.ts
+++ b/timeline.ts
@@ -1,9 +1,10 @@
-export type keyframeTypes = 'default' | 'delay' | 'speedChange' | 'loop';
+export type slideTypes = 'default' | 'delay' | 'speedChange' | 'loop';
+export type anySlide = slide | delaySlide | speedChangeSlide | loopSlide;
export interface slide {
frame: number;
clickThroughBehaviour: 'ImmediatelySkip' | 'PlayOut';
- type: keyframeTypes;
+ type: slideTypes;
id: string;
}
@@ -25,7 +26,7 @@ export interface presentationSettings {
}
export default interface timeline {
- slides: Array<slide | delaySlide | speedChangeSlide | loopSlide>;
+ slides: Array<anySlide>;
framecount: number;
framerate: number;
name: string;