mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +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}
|
||||
wheel={{ smoothStep: 0.005 }}
|
||||
onZoom={(zoom) => setZoomScale(zoom.state.scale)}
|
||||
disabled={!frigateControls}
|
||||
>
|
||||
{frigateControls && (
|
||||
<VideoControls
|
||||
|
||||
Loading…
Reference in New Issue
Block a user