The open-source CapCut alternative
Merge branch 'staging' of https://github.com/mazeincoding/AppCut into staging
Maze Winther974e3636fef7
diff --cc apps/web/src/hooks/use-aspect-ratio.tsindex 35d2cec4,4bc7cfd5..c3fe20c6--- a/apps/web/src/hooks/use-aspect-ratio.ts+++ b/apps/web/src/hooks/use-aspect-ratio.ts@@@ -9,8 -9,9 +9,9 @@@ export function useAspectRatio()const { mediaItems } = useMediaStore();const { tracks } = useTimelineStore();- const canvasSize = activeProject?.canvasSize || { width: 1920, height: 1080 };++ const canvasSize = activeProject?.canvasSize || DEFAULT_CANVAS_SIZE;+ const canvasMode = activeProject?.canvasMode || "preset";+// Find the current preset based on canvas sizeconst currentPreset = canvasPresets.find((preset) =>