mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
Move the read-aloud toggle beside Pause so Stop fits in the voice bar
This commit is contained in:
1 parent
99b8d854d4
commit
eca6a29b87
1 file changed
+10
-10
@@ -101,15 +101,6 @@ export function VoiceConversationBar({
|
||||
<X className="size-5" />
|
||||
</BarIconButton>
|
||||
)}
|
||||
{canReadRepliesAloud ? (
|
||||
<BarIconButton
|
||||
label="Read replies aloud"
|
||||
onClick={controller.toggleReadRepliesAloud}
|
||||
pressed={readRepliesAloud}
|
||||
>
|
||||
{readRepliesAloud ? <Volume2 className="size-5" /> : <VolumeX className="size-5" />}
|
||||
</BarIconButton>
|
||||
) : null}
|
||||
{canStopAgent ? (
|
||||
<BarIconButton label="Stop the agent" onClick={controller.stopAgent}>
|
||||
<SquareFill className="size-4" />
|
||||
@@ -119,7 +110,16 @@ export function VoiceConversationBar({
|
||||
<div className="flex justify-center">
|
||||
<VoiceConversationOrb phase={phase} label={orbLabel} onPress={controller.tapOrb} />
|
||||
</div>
|
||||
<div className="flex justify-end">
|
||||
<div className="flex items-center justify-end gap-1">
|
||||
{canReadRepliesAloud ? (
|
||||
<BarIconButton
|
||||
label="Read replies aloud"
|
||||
onClick={controller.toggleReadRepliesAloud}
|
||||
pressed={readRepliesAloud}
|
||||
>
|
||||
{readRepliesAloud ? <Volume2 className="size-5" /> : <VolumeX className="size-5" />}
|
||||
</BarIconButton>
|
||||
) : null}
|
||||
{hasPendingApproval ? (
|
||||
<Button
|
||||
type="button"
|
||||
|
||||
Reference in new issue
Block a user