mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 00:25:23 +03:00
disable pan/pinch/zoom when native browser video controls are displayed
This commit is contained in:
parent
006738a918
commit
2714dac78e
@ -190,6 +190,7 @@ export default function HlsVideoPlayer({
|
|||||||
minScale={1.0}
|
minScale={1.0}
|
||||||
wheel={{ smoothStep: 0.005 }}
|
wheel={{ smoothStep: 0.005 }}
|
||||||
onZoom={(zoom) => setZoomScale(zoom.state.scale)}
|
onZoom={(zoom) => setZoomScale(zoom.state.scale)}
|
||||||
|
disabled={!frigateControls}
|
||||||
>
|
>
|
||||||
{frigateControls && (
|
{frigateControls && (
|
||||||
<VideoControls
|
<VideoControls
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user