The open-source CapCut alternative
refactor: simplify canvas preset names for clarity
Maze Wintherd623ba6b4b6c
diff --git a/apps/web/src/stores/editor-store.ts b/apps/web/src/stores/editor-store.tsindex 6843decb..5382c3e2 100644--- a/apps/web/src/stores/editor-store.ts+++ b/apps/web/src/stores/editor-store.ts@@ -19,10 +19,10 @@ interface EditorState {}const DEFAULT_CANVAS_PRESETS: CanvasPreset[] = [- { name: "16:9 HD", width: 1920, height: 1080 },- { name: "9:16 Mobile", width: 1080, height: 1920 },- { name: "1:1 Square", width: 1080, height: 1080 },- { name: "4:3 Standard", width: 1440, height: 1080 },+ { name: "16:9", width: 1920, height: 1080 },+ { name: "9:16", width: 1080, height: 1920 },+ { name: "1:1", width: 1080, height: 1080 },+ { name: "4:3", width: 1440, height: 1080 },];// Helper function to find the best matching canvas preset for an aspect ratio