mirror of
https://github.com/yattee/yattee.git
synced 2026-06-07 15:24:21 +00:00
Redesign tvOS player controls with centered transport cluster
- Move Close to a top-right circular icon; bottom row reorganizes into left (Settings/Info/Comments), center transport (Previous/PlayPause/Next), and right (Queue) clusters with equal side frames so transport stays geometrically centered. - Introduce a circular icon-only `TVTransportButtonStyle` (primary variant for Play/Pause) mirroring the new Close button look. - Always render Previous/Next so Play/Pause position is fixed; dim and disable when unavailable. - Share `isTransportDisabled` on `PlayerState` and reuse it on iOS and tvOS; apply it (plus symbol replace transition) to the tvOS Play/Pause button.
This commit is contained in:
@@ -17,6 +17,7 @@ enum TVPlayerFocusTarget: Hashable {
|
||||
case commentsButton
|
||||
case debugButton
|
||||
case playPrevious
|
||||
case playPauseButton
|
||||
case playNext
|
||||
case closeButton
|
||||
case queueButton
|
||||
|
||||
Reference in New Issue
Block a user