Merge pull request #278 from meiiie/fix/export-media-paths

fix(export): reopen saved videos and default to source quality
This commit is contained in:
webadderall
2026-04-20 20:35:21 +10:00
committed by GitHub
6 changed files with 107 additions and 16 deletions
@@ -52,6 +52,10 @@ describe("editorPreferences", () => {
).toEqual(DEFAULT_EDITOR_PREFERENCES);
});
it("defaults MP4 exports to source quality", () => {
expect(DEFAULT_EDITOR_PREFERENCES.exportQuality).toBe("source");
});
it("loads stored editor control preferences", () => {
vi.stubGlobal(
"localStorage",
@@ -838,7 +838,7 @@ export function normalizeProjectEditor(editor: Partial<ProjectEditorState>): Pro
editor.exportQuality === "high" ||
editor.exportQuality === "source"
? editor.exportQuality
: "good",
: "source",
mp4FrameRate: normalizeExportMp4FrameRate(editor.mp4FrameRate),
exportFormat: editor.exportFormat === "gif" ? "gif" : "mp4",
gifFrameRate: