The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
feat(ui): add a settings gear to the title bar
Jareercac7c7cd6206
diff --git a/desktop/src/App.tsx b/desktop/src/App.tsxindex 10e132ec..ad0573c5 100644--- a/desktop/src/App.tsx+++ b/desktop/src/App.tsx@@ -1350,6 +1350,7 @@ function Editor({}theme={theme}onToggleTheme={onToggleTheme}+ onOpenSettings={() => setSettingsOpen(true)}actions={<buttontype="button"diff --git a/desktop/src/components/TitleBar.tsx b/desktop/src/components/TitleBar.tsxindex 7756187d..81d0e99a 100644--- a/desktop/src/components/TitleBar.tsx+++ b/desktop/src/components/TitleBar.tsx@@ -36,6 +36,7 @@ export function TitleBar({actions,theme,onToggleTheme,+ onOpenSettings,}: {projectName: string;menus: { label: string; groups: MenuOption[][] }[];@@ -44,6 +45,9 @@ export function TitleBar({actions?: ReactNode;theme: Theme;onToggleTheme: () => void;+ /** Shows the settings gear beside the theme toggle when provided - the+ * visible way in; the File menu entry remains for menu-first users. */+ onOpenSettings?: () => void;}) {const [maximized, setMaximized] = useState(false);const native = isTauri();@@ -116,6 +120,19 @@ export function TitleBar({<span className="h-full flex-1" data-tauri-drag-region />+ {onOpenSettings && (+ <button+ type="button"+ title="Settings"+ aria-label="Open settings"+ onClick={onOpenSettings}+ className="flex h-6 w-6 cursor-pointer items-center justify-center rounded-md+ text-secondary transition-colors hover:bg-hover hover:text-primary"+ >+ <Icon name="settings" size={14} />+ </button>+ )}+<buttontype="button"title={theme === "dark" ? "Switch to light" : "Switch to dark"}