Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🚸(frontend) highlight raised hands in participant's tile

lebaudantoine4e175a83617c
diff --git a/src/frontend/src/features/rooms/livekit/components/ParticipantTile.tsx b/src/frontend/src/features/rooms/livekit/components/ParticipantTile.tsx
index 2db3aace..aefa2e61 100644
--- a/src/frontend/src/features/rooms/livekit/components/ParticipantTile.tsx
+++ b/src/frontend/src/features/rooms/livekit/components/ParticipantTile.tsx
@@ -123,13 +123,16 @@ export const ParticipantTile: (
className="lk-participant-metadata-item"
style={{
minHeight: '24px',
+ backgroundColor: isHandRaised ? 'white' : undefined,
+ color: isHandRaised ? 'black' : undefined,
+ transition: 'background 200ms ease, color 400ms ease',
}}
>
{trackReference.source === Track.Source.Camera ? (
<>
{isHandRaised && (
<RiHand
- color="white"
+ color="black"
size={16}
style={{
marginInlineEnd: '.25rem', // fixme - match TrackMutedIndicator styling