Skip to content

fix(chapters): add and animate sheet dismissal after chapter selection - #498

Merged
estiaksoyeb merged 5 commits into
mpvRex:masterfrom
quirkyfiesta-glitch:fix-close-chapter-sheet-after-selection
Nov 25, 2026
Merged

estiaksoyeb merged 5 commits into
mpvRex:masterfrom
quirkyfiesta-glitch:fix-close-chapter-sheet-after-selection

Conversation

@quirkyfiesta-glitch

@quirkyfiesta-glitch quirkyfiesta-glitch commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Automatically dismiss the chapter sheet with its existing slide-down animation after selecting a chapter, returning directly to video playback without showing player controls.

Changes

PlayerSheet.kt

  • Exposed the existing animated dismissal callback to sheet content.

GenericTracksSheet.kt

  • Forwarded the dismissal callback to indexed track items.

ChaptersSheet.kt

  • Triggered animated dismissal after chapter selection.

PlayerControls.kt

  • Prevented player controls from reappearing after chapter selection.
  • Preserved normal controls visibility when dismissing other sheets.

Testing

  • Tested chapter selection and animated dismissal.
  • Video seeks correctly and playback continues with player controls hidden.
  • Behaviour works as intended.

Note: Uses the same closing animation and duration as other sheets.

@estiaksoyeb
estiaksoyeb merged commit 25d086b into mpvRex:master Nov 25, 2026
1 check passed
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