Skip to content

Conversation

@madmini
Copy link
Contributor

@madmini madmini commented Feb 24, 2025

On changing the cut-from and cut-to times using the RangeSlider, the player seeks to the cut-from time or 1.5s before the cut-to time. However, the seek timestamps (already in milliseconds) were multiplied with 1000 another time, resulting in the preview seeking to the end of the video and restarting from the cut-from time.

Also, I have changed the detection whether the cut-from or cut-to slider was dragged to use rangeSlider.focusedThumbIndex which to me seems more straightforward than comparing the textinput contents. This should also fix the edge case when the cut-to slider is dragged, but ends up in the exact same time as when it started.

@madmini madmini mentioned this pull request Feb 25, 2025
10 tasks
@deniscerri deniscerri merged commit 49ab009 into deniscerri:main Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants