Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

Label empty capture selection Pick source

webadderall0296b8c48f9d
diff --git a/src/components/launch/LaunchWindow.tsx b/src/components/launch/LaunchWindow.tsx
index a64d92d7..9121f641 100644
--- a/src/components/launch/LaunchWindow.tsx
+++ b/src/components/launch/LaunchWindow.tsx
@@ -272,7 +272,7 @@ function LaunchWindowContent() {
{hasSelectedSource ? (
<MarqueeText text={selectedSource} />
) : (
- <span>Pick screen</span>
+ <span>Pick source</span>
)}
</div>
</Button>
diff --git a/src/components/launch/hooks/useLaunchWindowActions.ts b/src/components/launch/hooks/useLaunchWindowActions.ts
index 74c2529d..72bc8722 100644
--- a/src/components/launch/hooks/useLaunchWindowActions.ts
+++ b/src/components/launch/hooks/useLaunchWindowActions.ts
@@ -3,7 +3,7 @@ import type { ProjectLibraryEntry } from "@/components/video-editor/ProjectBrows
import type { DesktopSource } from "../popovers/launchPopoverTypes";
export function useLaunchWindowActions() {
- const [selectedSource, setSelectedSource] = useState("Pick screen");
+ const [selectedSource, setSelectedSource] = useState("Pick source");
const [hasSelectedSource, setHasSelectedSource] = useState(false);
const [projectLibraryEntries, setProjectLibraryEntries] = useState<ProjectLibraryEntry[]>([]);
@@ -58,7 +58,7 @@ export function useLaunchWindowActions() {
setHasSelectedSource(true);
return;
}
- setSelectedSource("Pick screen");
+ setSelectedSource("Pick source");
setHasSelectedSource(false);
}, []);
diff --git a/tests/ui/capture-picker.spec.ts b/tests/ui/capture-picker.spec.ts
index b88fc32f..f26ab845 100644
--- a/tests/ui/capture-picker.spec.ts
+++ b/tests/ui/capture-picker.spec.ts
@@ -214,7 +214,7 @@ test("areas can be moved and resized before Enter confirms them", async ({ page
});
});
-test("unselected source reads Pick screen once and Record stays disabled while picking", async ({
+test("unselected source reads Pick source once and Record stays disabled while picking", async ({
page,
}) => {
await installDesktopBridge(page);
@@ -232,9 +232,9 @@ test("unselected source reads Pick screen once and Record stays disabled while p
await page.goto("/?windowType=hud-overlay");
await expect(page.locator("html")).toHaveAttribute("data-picker-pending", "true");
const source = page.getByRole("button", { name: "Choose recording source" });
- await expect(source).toHaveText("Pick screen");
+ await expect(source).toHaveText("Pick source");
await expect(page.getByRole("button", { name: "Record", exact: true })).toBeDisabled();
await page.evaluate(() => (window as unknown as { finishPicker: () => void }).finishPicker());
await expect(page.getByRole("button", { name: "Record", exact: true })).toBeEnabled();
- await expect(source).toHaveText("Pick screen");
+ await expect(source).toHaveText("Pick source");
});