mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 05:35:25 +03:00
Hide motion playback controls during scrubbing
This commit is contained in:
parent
fb7cfe5471
commit
6f799869ef
@ -898,6 +898,7 @@ function MotionReview({
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{!scrubbing && (
|
||||||
<VideoControls
|
<VideoControls
|
||||||
className="absolute bottom-16 left-1/2 -translate-x-1/2"
|
className="absolute bottom-16 left-1/2 -translate-x-1/2"
|
||||||
features={{
|
features={{
|
||||||
@ -927,6 +928,7 @@ function MotionReview({
|
|||||||
onSetPlaybackRate={setPlaybackRate}
|
onSetPlaybackRate={setPlaybackRate}
|
||||||
show={currentTime < timeRange.before - 4}
|
show={currentTime < timeRange.before - 4}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user