commit 2196cb4745938cc7525bf3bbb6e46394c7f459a0
parent f66c2d4fc4557a20bea1290c01b98e4304f05dc1
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 3 Nov 2026 01:20:57 -0500
umtool: the recording session's keys work after the count-in box is clicked (Space records, never toggles the box)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/umtool/components/projects/RecordSession.tsx b/umtool/components/projects/RecordSession.tsx
@@ -172,7 +172,8 @@ export default function RecordSession({ project, items: initial, start, box }: {
useEffect(() => {
const onKey = (ev: KeyboardEvent) => {
const tgt = ev.target as HTMLElement | null;
- if (tgt?.closest("input, textarea, select")) return;
+ // A text box or a select keeps its keys; a checkbox (the count-in) does not -- Space still records.
+ if (tgt?.closest("textarea, select, input:not([type=checkbox])")) return;
if (ev.metaKey || ev.ctrlKey || ev.altKey) return;
if (ev.key === " ") {
ev.preventDefault();