Fix PlayerBar layout at narrow widths - #270
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c8cb0b8e19
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if self.playerService.isCurrentItemLive { | ||
| self.liveIndicatorView | ||
| .transition(.opacity) |
There was a problem hiding this comment.
Gate live indicator behind hover state
For live items, this branch now renders liveIndicatorView whenever a track is present, even when showsSeekControls is false. In the center ZStack, the normal track info remains visible at rest, so the LIVE badge can overlap the title/artist instead of only replacing the seek area on hover as it did before; this affects live radio/stream playback in the player bar.
Useful? React with 👍 / 👎.
Description
Fixes PlayerBar control overflow at narrow window widths by switching secondary controls into a compact overflow menu and increasing the main window minimum width to match the compact layout breakpoint.
AI Prompt (Optional)
🤖 AI Prompt Used
AI Tool: Codex
Type of Change
Related Issues
Fixes #
Changes Made
PlayerBarto detect compact layouts below 980pt.Testing
xcodebuild test -only-testing:KasetTests)Checklist
swiftlint --strict && swiftformat .Screenshots
Additional Notes
This is a layout-only fix. It does not change playback behavior or introduce new dependencies.