From a678bd2e960a0aa5de6e28f41720e79ed5f024a7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 21:53:09 +0000 Subject: [PATCH 1/2] Initial plan From d908448a3e4e5fc17febe765163c93779dc393bc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 22:00:52 +0000 Subject: [PATCH 2/2] feat: add None option to remove premade backgrounds Co-authored-by: lawrence-mil <221152068+lawrence-mil@users.noreply.github.com> --- src/components/video-editor/SettingsPanel.tsx | 36 ++++++++++++++----- src/components/video-editor/VideoPlayback.tsx | 16 ++++++--- src/i18n/locales/en/settings.json | 1 + src/i18n/locales/es/settings.json | 1 + src/i18n/locales/zh-CN/settings.json | 1 + src/lib/exporter/frameRenderer.ts | 8 ++++- src/lib/wallpapers.ts | 3 ++ 7 files changed, 51 insertions(+), 15 deletions(-) diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsx index 1cbf39b7..2c983e26 100644 --- a/src/components/video-editor/SettingsPanel.tsx +++ b/src/components/video-editor/SettingsPanel.tsx @@ -1,7 +1,7 @@ import { cn } from "@/lib/utils"; import { useEffect, useRef } from "react"; import { getAssetPath, getRenderableAssetUrl } from "@/lib/assetPath"; -import { BUILT_IN_WALLPAPERS, WALLPAPER_PATHS, WALLPAPER_RELATIVE_PATHS } from "@/lib/wallpapers"; +import { BUILT_IN_WALLPAPERS, NO_BACKGROUND, WALLPAPER_PATHS, WALLPAPER_RELATIVE_PATHS } from "@/lib/wallpapers"; import { SliderControl } from "./SliderControl"; import { Switch } from "@/components/ui/switch"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; @@ -631,14 +631,32 @@ export function SettingsPanel({ accept=".jpg,.jpeg,image/jpeg" className="hidden" /> - +