From 40ef420cda051516a08cdb503e771cfcf183ac25 Mon Sep 17 00:00:00 2001 From: Cyril Date: Thu, 2 Jul 2026 10:51:38 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(frontend)=20use=20focus=20layout=20fo?= =?UTF-8?q?r=20solo=20PiP=20screen=20sharing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Solo cam in screen share PiP is now a BR thumbnail over shared screen --- .../features/pip/components/layout/PipStage.tsx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/features/pip/components/layout/PipStage.tsx b/src/frontend/src/features/pip/components/layout/PipStage.tsx index 64de384c..1102c453 100644 --- a/src/frontend/src/features/pip/components/layout/PipStage.tsx +++ b/src/frontend/src/features/pip/components/layout/PipStage.tsx @@ -53,8 +53,20 @@ export const PipStage = () => { if (tracks.length === 0) return null - // Screen share active → Google Meet-style layout + // Screen share active if (screenShareTrack) { + // Solo presenter: screen share fills the area, camera as small thumbnail + if (cameraTracks.length <= 1) { + return ( + + + + ) + } + // Multiple cameras: camera row at top, screen share below return (