Skip to content

Open source CapCut alternative.

TypeScript

fix(site): a background change alone saves the project

David Ledbbe9a4e9beb
diff --git a/site/src/cut/components/Editor.tsx b/site/src/cut/components/Editor.tsx
index 1c4a4ad2..6092afd3 100644
--- a/site/src/cut/components/Editor.tsx
+++ b/site/src/cut/components/Editor.tsx
@@ -623,6 +623,7 @@ export function Editor({
s.aspect !== last.aspect ||
s.fadeIn !== (last.fadeIn ?? 0) ||
s.fadeOut !== (last.fadeOut ?? 0) ||
+ s.background !== last.background ||
s.publish.caption !== last.publish?.caption ||
s.publish.tags !== last.publish?.tags ||
s.publish.soundTitle !== last.publish?.soundTitle ||