summaryrefslogtreecommitdiff
path: root/apps/web/src/core/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/core/index.ts')
-rw-r--r--apps/web/src/core/index.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/web/src/core/index.ts b/apps/web/src/core/index.ts
index 42ab3b87..e7cc5496 100644
--- a/apps/web/src/core/index.ts
+++ b/apps/web/src/core/index.ts
@@ -9,13 +9,13 @@ import { SaveManager } from "./managers/save-manager";
import { AudioManager } from "./managers/audio-manager";
import { SelectionManager } from "./managers/selection-manager";
import { registerDefaultEffects } from "@/lib/effects";
+import { registerDefaultMasks } from "@/lib/masks";
export class EditorCore {
private static instance: EditorCore | null = null;
-
+ public readonly timeline: TimelineManager;
public readonly command: CommandManager;
public readonly playback: PlaybackManager;
- public readonly timeline: TimelineManager;
public readonly scenes: ScenesManager;
public readonly project: ProjectManager;
public readonly media: MediaManager;
@@ -26,9 +26,10 @@ export class EditorCore {
private constructor() {
registerDefaultEffects();
+ registerDefaultMasks();
this.command = new CommandManager();
- this.playback = new PlaybackManager(this);
this.timeline = new TimelineManager(this);
+ this.playback = new PlaybackManager(this);
this.scenes = new ScenesManager(this);
this.project = new ProjectManager(this);
this.media = new MediaManager(this);