feat(call): doubleclick on focused tile clears pin

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
byGalax
2026-05-12 18:50:29 +02:00
parent 187f8dc95a
commit c87d4e82d3
2 changed files with 12 additions and 0 deletions
@@ -83,6 +83,7 @@ export interface ParticipantTileProps {
size?: 'default' | 'small';
focused?: boolean;
onClick?: () => void;
onDoubleClick?: () => void;
onContextMenu?: (e: React.MouseEvent) => void;
}
@@ -102,6 +103,7 @@ export function CallParticipantTile(props: ParticipantTileProps) {
size = 'default',
focused = false,
onClick,
onDoubleClick,
onContextMenu,
} = props;
@@ -120,6 +122,7 @@ export function CallParticipantTile(props: ParticipantTileProps) {
return (
<div
onClick={onClick}
onDoubleClick={onDoubleClick}
onContextMenu={onContextMenu}
className={
'relative flex flex-col overflow-hidden rounded-[14px] border-[2px] bg-surface-3 transition-colors duration-150 ' +