Skip to content

fix(player): prevent chapter pill horizontal shifting - #497

Merged
estiaksoyeb merged 3 commits into
mpvRex:masterfrom
quirkyfiesta-glitch:fix/chapter-section-alignment
Nov 5, 2026
Merged

estiaksoyeb merged 3 commits into
mpvRex:masterfrom
quirkyfiesta-glitch:fix/chapter-section-alignment

Conversation

@quirkyfiesta-glitch

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

Copy link
Copy Markdown
Contributor

Summary

Prevented the chapter pill from shifting horizontally when revealing player controls by reducing the controls' entrance animation distance.

Changes

PlayerControls.kt

  • Reduced the horizontal slide-in distance to one-third of the screen width.
  • Set the entrance animation duration to 180ms with LinearOutSlowInEasing.
  • Combined the reduced slide with a fade-in animation.
  • Preserved the existing reduced-motion fallback and exit animation.

Testing

  • Tested intended fixes.

@estiaksoyeb
estiaksoyeb merged commit 4075ed3 into mpvRex:master Nov 5, 2026
1 of 2 checks 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