Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
properly handle incorrect export format selection
Brendan Allan5eabe1da6d6d
diff --git a/apps/desktop/src/routes/editor/ExportDialog.tsx b/apps/desktop/src/routes/editor/ExportDialog.tsxindex 21176f399..9640c52b2 100644--- a/apps/desktop/src/routes/editor/ExportDialog.tsx+++ b/apps/desktop/src/routes/editor/ExportDialog.tsx@@ -125,9 +125,7 @@ export function ExportDialog() {{ name: "export_settings" });- if ((settings.format as string) === "MP4") {- setSettings("format", "Mp4");- }+ if (!["Mp4", "Gif"].includes(settings.format)) setSettings("format", "Mp4");const exportWithSettings = (onProgress: (progress: FramesRendered) => void) =>exportVideo(