From 1f08d3ca26bf2ef5aff7ce04b4cfeef3a39610c8 Mon Sep 17 00:00:00 2001 From: Yiyang Suen Date: Sun, 30 Nov 2025 10:19:12 +0800 Subject: [PATCH] feat: disable source selection and project selection when recording --- src/components/launch/LaunchWindow.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/launch/LaunchWindow.tsx b/src/components/launch/LaunchWindow.tsx index feb8183..963e07f 100644 --- a/src/components/launch/LaunchWindow.tsx +++ b/src/components/launch/LaunchWindow.tsx @@ -118,6 +118,7 @@ export function LaunchWindow() { size="sm" className={`gap-1 text-white bg-transparent hover:bg-transparent px-0 flex-1 text-left text-xs ${styles.electronNoDrag}`} onClick={openSourceSelector} + disabled={recording} > {truncateText(selectedSource, 6)} @@ -154,6 +155,7 @@ export function LaunchWindow() { size="sm" onClick={openVideoFile} className={`gap-1 text-white bg-transparent hover:bg-transparent px-0 flex-1 text-right text-xs ${styles.electronNoDrag} ${styles.folderButton}`} + disabled={recording} > Open