Skip to content

TT-7145 Enhance useWaveSurfer to improve playhead behavior#295

Merged
sarahentzel merged 2 commits intodevelopfrom
TT-7145-trans
May 6, 2026
Merged

TT-7145 Enhance useWaveSurfer to improve playhead behavior#295
sarahentzel merged 2 commits intodevelopfrom
TT-7145-trans

Conversation

@gtryus
Copy link
Copy Markdown
Contributor

@gtryus gtryus commented May 5, 2026

  • Introduced a constant FINISH_END_EPSILON_SEC to nudge the playhead slightly before the true duration, ensuring the custom cursor remains visible at the end.
  • Updated the playhead logic to clamp the current time within valid duration bounds.
  • Modified the 'finish' event handler to safely navigate to the adjusted end time before stopping playback, enhancing user experience.

Greg Trihus added 2 commits May 5, 2026 16:57
- Introduced a constant FINISH_END_EPSILON_SEC to nudge the playhead slightly before the true duration, ensuring the custom cursor remains visible at the end.
- Updated the playhead logic to clamp the current time within valid duration bounds.
- Modified the 'finish' event handler to safely navigate to the adjusted end time before stopping playback, enhancing user experience.
@gtryus gtryus requested a review from sarahentzel May 6, 2026 00:58
@sarahentzel sarahentzel merged commit ec4caa1 into develop May 6, 2026
2 checks passed
@sarahentzel sarahentzel deleted the TT-7145-trans branch May 6, 2026 16:24
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