diff --git a/apps/desktop/src/components/ParticipantVolumeMenu.tsx b/apps/desktop/src/components/ParticipantVolumeMenu.tsx index 108b0a2..252a926 100644 --- a/apps/desktop/src/components/ParticipantVolumeMenu.tsx +++ b/apps/desktop/src/components/ParticipantVolumeMenu.tsx @@ -16,7 +16,7 @@ interface Props { } const MENU_W = 240; -const MENU_H = 84; +const MENU_H = 96; export function ParticipantVolumeMenu({ userId, @@ -63,14 +63,20 @@ export function ParticipantVolumeMenu({ >
{displayName} - + 1 ? 'text-amber-500' : 'text-fg-muted') + } + > {Math.round(volume * 100)}%
+ {/* Up to 200% via WebAudio gain. Values above 100% can clip on loud + mics — the amber count-up hints at that without a verbose warning. */} { @@ -81,6 +87,11 @@ export function ParticipantVolumeMenu({ aria-label={'Lautstärke ' + displayName} className="w-full accent-accent" /> +
+ 0% + 100% + 200% +
, document.body, ); diff --git a/apps/desktop/src/components/ParticipantsPopover.tsx b/apps/desktop/src/components/ParticipantsPopover.tsx index bf39f1f..e5acb6e 100644 --- a/apps/desktop/src/components/ParticipantsPopover.tsx +++ b/apps/desktop/src/components/ParticipantsPopover.tsx @@ -185,7 +185,7 @@ function Row({ row, speaking }: { row: ParticipantRow; speaking: boolean }) { { @@ -196,7 +196,12 @@ function Row({ row, speaking }: { row: ParticipantRow; speaking: boolean }) { aria-label={'Lautstärke ' + row.displayName} className="flex-1 accent-accent" /> - + 1 ? 'text-amber-500' : '') + } + > {Math.round(volume * 100)}% diff --git a/apps/desktop/src/components/ScreenShareContextMenu.tsx b/apps/desktop/src/components/ScreenShareContextMenu.tsx index 9550d0e..5c4fc76 100644 --- a/apps/desktop/src/components/ScreenShareContextMenu.tsx +++ b/apps/desktop/src/components/ScreenShareContextMenu.tsx @@ -104,14 +104,18 @@ export function ScreenShareContextMenu({ {t('app:call.share_volume', { defaultValue: 'Lautstärke' })} - + 1 ? 'text-amber-500' : 'text-fg-muted') + } + > {Math.round(volume * 100)}% { @@ -122,6 +126,11 @@ export function ScreenShareContextMenu({ aria-label={t('app:call.share_volume', { defaultValue: 'Lautstärke' })} className="w-full accent-accent" /> +
+ 0% + 100% + 200% +