diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-05-24 11:26:11 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-05-24 11:26:11 +0200 |
commit | 5e07224b4bf5010b96f745441b6ee4c213d3fb81 (patch) | |
tree | 812132ad39d4a56ae9a1529ceb9c9ff69efe1109 /timeline.ts | |
parent | 221efd26e676ca86aa6f9058d7f7d082e1b87e94 (diff) |
dragging keyframe affects timeline :tada:
Diffstat (limited to 'timeline.ts')
-rw-r--r-- | timeline.ts | 7 |
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; |