Skip to content

Commit 9fec372

Browse files
committed
polish: expand waveform to full width, clarify 'review' action
1 parent ed80b7c commit 9fec372

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/browser/components/ChatInput/RecordingOverlay.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ export const RecordingOverlay: React.FC<RecordingOverlayProps> = (props) => {
5353
{isRecording && props.mediaRecorder ? (
5454
<LiveAudioVisualizer
5555
mediaRecorder={props.mediaRecorder}
56-
width={280}
56+
width="100%"
5757
height={40}
5858
barWidth={3}
5959
gap={2}
6060
barColor={modeColor}
61-
smoothingTimeConstant={0.6}
62-
fftSize={512}
61+
smoothingTimeConstant={0.5}
62+
fftSize={256}
6363
minDecibels={-80}
6464
maxDecibels={-20}
6565
/>
@@ -82,7 +82,7 @@ export const RecordingOverlay: React.FC<RecordingOverlayProps> = (props) => {
8282
{isRecording ? (
8383
<>
8484
<span className="opacity-70">space</span> send ·{" "}
85-
<span className="opacity-70">{formatKeybind(KEYBINDS.TOGGLE_VOICE_INPUT)}</span> stop ·{" "}
85+
<span className="opacity-70">{formatKeybind(KEYBINDS.TOGGLE_VOICE_INPUT)}</span> review ·{" "}
8686
<span className="opacity-70">esc</span> cancel
8787
</>
8888
) : (

0 commit comments

Comments
 (0)