Skip to content

Commit

Permalink
Encode video layer in storyboard event section encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
kionell committed Jun 26, 2023
1 parent b8c2485 commit 9e6118f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/core/Encoders/Handlers/Storyboards/StoryboardEventEncoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ export abstract class StoryboardEventEncoder {
* @returns Encoded storyboard events.
*/
static encodeEventSection(storyboard: Storyboard): string {
const encoded: string[] = [
'[Events]',
this.encodeStoryboard(storyboard),
];
const encoded: string[] = [];

encoded.push('[Events]');
encoded.push('//Background and Video events');

encoded.push(this.encodeVideos(storyboard));
encoded.push(this.encodeStoryboard(storyboard));

return encoded.join('\n');
}
Expand Down

0 comments on commit 9e6118f

Please sign in to comment.