From fce967ac12d7aa41b601ae03d36d94855affb1de Mon Sep 17 00:00:00 2001 From: Cyril Date: Wed, 15 Jul 2026 10:23:04 +0200 Subject: [PATCH] =?UTF-8?q?fixup!=20=E2=9C=A8(frontend)=20add=20ScreenShar?= =?UTF-8?q?eZoomableVideo=20component=20for=20zoomable=20screen=20shares?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/rooms/livekit/components/ParticipantTile.tsx | 5 ++++- .../rooms/livekit/components/ScreenShareZoomControls.tsx | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/features/rooms/livekit/components/ParticipantTile.tsx b/src/frontend/src/features/rooms/livekit/components/ParticipantTile.tsx index 211604b1..31db2f8c 100644 --- a/src/frontend/src/features/rooms/livekit/components/ParticipantTile.tsx +++ b/src/frontend/src/features/rooms/livekit/components/ParticipantTile.tsx @@ -123,7 +123,10 @@ export const ParticipantTile: ( const handleTileMouseMove = React.useCallback(() => { if (idleTimerRef.current) window.clearTimeout(idleTimerRef.current) - idleTimerRef.current = window.setTimeout(() => setIsIdle(true), MOUSE_IDLE_TIME) + idleTimerRef.current = window.setTimeout( + () => setIsIdle(true), + MOUSE_IDLE_TIME + ) setIsIdle(false) }, []) diff --git a/src/frontend/src/features/rooms/livekit/components/ScreenShareZoomControls.tsx b/src/frontend/src/features/rooms/livekit/components/ScreenShareZoomControls.tsx index 775bc3f1..11472f69 100644 --- a/src/frontend/src/features/rooms/livekit/components/ScreenShareZoomControls.tsx +++ b/src/frontend/src/features/rooms/livekit/components/ScreenShareZoomControls.tsx @@ -141,7 +141,9 @@ export const ScreenShareZoomControls = ({ size="sm" variant="primaryTextDark" square - tooltip={t('zoomOutWithShortcut', { shortcut: wheelShortcutVisual })} + tooltip={t('zoomOutWithShortcut', { + shortcut: wheelShortcutVisual, + })} aria-label={t('zoomOut')} isDisabled={!isZoomed || !canZoomOut} onPress={onZoomOut}