Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent text from being selected in push to talk button
Browse files Browse the repository at this point in the history
third774 committed Dec 18, 2024
1 parent 9fbbeec commit d095223
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/components/AiPushToTalkButton.tsx
Original file line number Diff line number Diff line change
@@ -126,7 +126,11 @@ export function AiPushToTalkButtion() {
}, [controllingUser])

return (
<Button className="text-xs" disabled={disabled} ref={talkButtonRef}>
<Button
className="text-xs select-none"
disabled={disabled}
ref={talkButtonRef}
>
{hasControl ? 'Speaking to Ai...' : 'Hold to talk to AI'}
</Button>
)

0 comments on commit d095223

Please sign in to comment.