Hide motion playback controls during scrubbing

This commit is contained in:
Nicolas Mowen 2024-04-05 06:22:11 -06:00
parent fb7cfe5471
commit 6f799869ef

View File

@ -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}
/> />
)}
</> </>
); );
} }