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>
{!scrubbing && (
<VideoControls
className="absolute bottom-16 left-1/2 -translate-x-1/2"
features={{
@ -927,6 +928,7 @@ function MotionReview({
onSetPlaybackRate={setPlaybackRate}
show={currentTime < timeRange.before - 4}
/>
)}
</>
);
}