Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix: video-effects slider desync, a slow background picker, and the HUD in captures
Etienne Lescot792de0f396ad
diff --git a/electron/windows.ts b/electron/windows.tsindex 99ea88744..57b231bd9 100644--- a/electron/windows.ts+++ b/electron/windows.ts@@ -187,6 +187,11 @@ export function createHudOverlayWindow(): BrowserWindow {});win.setIgnoreMouseEvents(true, { forward: true });+ // Exclude the HUD from any screen/window capture (WGC on Windows uses the same+ // SetWindowDisplayAffinity affinity this sets) so the recording controls never+ // end up baked into the recorded video, same as the notes window below.+ win.setContentProtection(true);+// Follow the user across macOS Spaces, else the HUD stays pinned to the Space// it was first opened on.if (process.platform === "darwin") {@@ -196,6 +201,7 @@ export function createHudOverlayWindow(): BrowserWindow {// Show only once painted to avoid the black rectangle flash when a transparent// window is shown before its first paint.win.once("ready-to-show", () => {+ win.setContentProtection(true);if (!HEADLESS) win.show();});diff --git a/public/wallpapers/thumbs/wallpaper1.jpg b/public/wallpapers/thumbs/wallpaper1.jpgnew file mode 100644index 000000000..3b807fdfdBinary files /dev/null and b/public/wallpapers/thumbs/wallpaper1.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper10.jpg b/public/wallpapers/thumbs/wallpaper10.jpgnew file mode 100644index 000000000..67f011b61Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper10.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper11.jpg b/public/wallpapers/thumbs/wallpaper11.jpgnew file mode 100644index 000000000..3ddae52c0Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper11.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper12.jpg b/public/wallpapers/thumbs/wallpaper12.jpgnew file mode 100644index 000000000..fcb82f393Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper12.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper13.jpg b/public/wallpapers/thumbs/wallpaper13.jpgnew file mode 100644index 000000000..cfeb50f66Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper13.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper14.jpg b/public/wallpapers/thumbs/wallpaper14.jpgnew file mode 100644index 000000000..c4b8e0a6bBinary files /dev/null and b/public/wallpapers/thumbs/wallpaper14.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper15.jpg b/public/wallpapers/thumbs/wallpaper15.jpgnew file mode 100644index 000000000..ea949b1d9Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper15.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper16.jpg b/public/wallpapers/thumbs/wallpaper16.jpgnew file mode 100644index 000000000..7a3182474Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper16.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper17.jpg b/public/wallpapers/thumbs/wallpaper17.jpgnew file mode 100644index 000000000..effce8113Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper17.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper18.jpg b/public/wallpapers/thumbs/wallpaper18.jpgnew file mode 100644index 000000000..5dfc629dbBinary files /dev/null and b/public/wallpapers/thumbs/wallpaper18.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper2.jpg b/public/wallpapers/thumbs/wallpaper2.jpgnew file mode 100644index 000000000..371cc69a6Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper2.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper3.jpg b/public/wallpapers/thumbs/wallpaper3.jpgnew file mode 100644index 000000000..49d9191e5Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper3.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper4.jpg b/public/wallpapers/thumbs/wallpaper4.jpgnew file mode 100644index 000000000..169dd84b8Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper4.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper5.jpg b/public/wallpapers/thumbs/wallpaper5.jpgnew file mode 100644index 000000000..bc4e93b4aBinary files /dev/null and b/public/wallpapers/thumbs/wallpaper5.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper6.jpg b/public/wallpapers/thumbs/wallpaper6.jpgnew file mode 100644index 000000000..b11145bf4Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper6.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper7.jpg b/public/wallpapers/thumbs/wallpaper7.jpgnew file mode 100644index 000000000..0fd5b38bfBinary files /dev/null and b/public/wallpapers/thumbs/wallpaper7.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper8.jpg b/public/wallpapers/thumbs/wallpaper8.jpgnew file mode 100644index 000000000..7380ffbb9Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper8.jpg differdiff --git a/public/wallpapers/thumbs/wallpaper9.jpg b/public/wallpapers/thumbs/wallpaper9.jpgnew file mode 100644index 000000000..baa49c974Binary files /dev/null and b/public/wallpapers/thumbs/wallpaper9.jpg differdiff --git a/src/components/ai-edition/RightPanes.tsx b/src/components/ai-edition/RightPanes.tsxindex 9b493e3e9..3207ff48e 100644--- a/src/components/ai-edition/RightPanes.tsx+++ b/src/components/ai-edition/RightPanes.tsx@@ -54,7 +54,7 @@ import { locateVirtualPosition } from "@/lib/ai-edition/timeline/virtual-previewimport { getAssetPath } from "@/lib/assetPath";import { CURSOR_THEMES, DEFAULT_CURSOR_THEME_ID } from "@/lib/cursor/cursorThemes";import { buildGradientFromEditor } from "@/lib/gradientBuilder";-import { resolveImageWallpaperUrl, WALLPAPER_PATHS } from "@/lib/wallpaper";+import { resolveImageWallpaperUrl, WALLPAPER_PATHS, WALLPAPER_THUMB_PATHS } from "@/lib/wallpaper";import { isNativeCompositorActive, setNativeParam, subscribeNativeCompositor } from "@/native";import styles from "./NewEditorShell.module.css";@@ -288,7 +288,10 @@ export function BackgroundPane() {/>))}{WALLPAPER_PATHS.map((path, i) => {- const previewUrl = resolveImageWallpaperUrl(path);+ // Grid swatch paints the small pre-generated thumbnail (see+ // WALLPAPER_THUMB_PATHS) — selecting it still stores/applies `path`,+ // the full-res original, unchanged.+ const previewUrl = resolveImageWallpaperUrl(WALLPAPER_THUMB_PATHS[i]);return (<buttontype="button"@@ -1764,7 +1767,7 @@ function SliderCell({min={min}max={max}step={step}- defaultValue={value}+ value={value}disabled={disabled}onChange={(e) => onChange(Number(e.target.value))}onMouseUp={onCommit}diff --git a/src/lib/wallpaper.ts b/src/lib/wallpaper.tsindex 010f47c2f..7ce5e27f3 100644--- a/src/lib/wallpaper.ts+++ b/src/lib/wallpaper.ts@@ -7,6 +7,16 @@ export const WALLPAPER_PATHS: readonly string[] = Array.from((_, i) => `/wallpapers/wallpaper${i + 1}.jpg`,);+// Small (240x240, ~3-8KB) pre-generated copies used ONLY for the picker grid's swatches — the+// full-res originals (up to 4+MB, up to 7680px) are what `settings.wallpaper` still stores and+// what actually gets rendered/exported. Without this the grid was decoding all 18 originals+// (~20MB combined) simultaneously just to paint a few dozen px each (reported: picker felt slow+// to load).+export const WALLPAPER_THUMB_PATHS: readonly string[] = Array.from(+ { length: WALLPAPER_COUNT },+ (_, i) => `/wallpapers/thumbs/wallpaper${i + 1}.jpg`,+);+export const DEFAULT_WALLPAPER = WALLPAPER_PATHS[0];export type WallpaperClassification =