diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-08-31 14:10:59 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-08-31 14:10:59 +0200 |
| commit | 29fdd8568dbb9c67ee19492781f3f03eb2c3bd24 (patch) | |
| tree | d5c627aba9608ac0937646ad05ef10af07bf7fdd /apps/web/src/lib/export.ts | |
| parent | 3db766646759bf59f11ef3f8640d1aca6d394c15 (diff) | |
| download | opencut-29fdd8568dbb9c67ee19492781f3f03eb2c3bd24.tar.gz | |
refactor: improve types, fix background blur, some other stuff
Diffstat (limited to 'apps/web/src/lib/export.ts')
| -rw-r--r-- | apps/web/src/lib/export.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/web/src/lib/export.ts b/apps/web/src/lib/export.ts index 8b1ab83e..52c58736 100644 --- a/apps/web/src/lib/export.ts +++ b/apps/web/src/lib/export.ts @@ -252,9 +252,11 @@ export async function exportProject( canvasHeight: canvas.height, tracks, mediaFiles, + backgroundType: activeProject.backgroundType, + blurIntensity: activeProject.blurIntensity, backgroundColor: activeProject.backgroundType === "blur" - ? "transparent" + ? undefined : activeProject.backgroundColor || "#000000", projectCanvasSize: canvasSize, }); |
