mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-28 19:27:50 +00:00
fixup! ✨(frontend) add ScreenShareZoomableVideo component for zoomable screen shares
This commit is contained in:
@@ -123,7 +123,10 @@ export const ParticipantTile: (
|
|||||||
|
|
||||||
const handleTileMouseMove = React.useCallback(() => {
|
const handleTileMouseMove = React.useCallback(() => {
|
||||||
if (idleTimerRef.current) window.clearTimeout(idleTimerRef.current)
|
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)
|
setIsIdle(false)
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
|||||||
@@ -141,7 +141,9 @@ export const ScreenShareZoomControls = ({
|
|||||||
size="sm"
|
size="sm"
|
||||||
variant="primaryTextDark"
|
variant="primaryTextDark"
|
||||||
square
|
square
|
||||||
tooltip={t('zoomOutWithShortcut', { shortcut: wheelShortcutVisual })}
|
tooltip={t('zoomOutWithShortcut', {
|
||||||
|
shortcut: wheelShortcutVisual,
|
||||||
|
})}
|
||||||
aria-label={t('zoomOut')}
|
aria-label={t('zoomOut')}
|
||||||
isDisabled={!isZoomed || !canZoomOut}
|
isDisabled={!isZoomed || !canZoomOut}
|
||||||
onPress={onZoomOut}
|
onPress={onZoomOut}
|
||||||
|
|||||||
Reference in New Issue
Block a user