Skip to content

Commit

Permalink
Prevent text from being selected in push to talk button
Browse files Browse the repository at this point in the history
  • Loading branch information
third774 committed Dec 18, 2024
1 parent 397276f commit 8f56286
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
Expand Up @@ -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>
)
Expand Down

0 comments on commit 8f56286

Please sign in to comment.