Skip to content

Begin gradient fade at neighbor midpoint (seamless near-half) - #130

Merged
jaasthisenna-jpg merged 1 commit into
mainfrom
claude/nowplaying-bleed-fade-halfway
Jul 21, 2026
Merged

jaasthisenna-jpg merged 1 commit into
mainfrom
claude/nowplaying-bleed-fade-halfway

Conversation

@sanylax2

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to the merged gradient-bleed work. Previously the bleed into the Library/Queue pages began fading right at the page boundary, so the neighbor's near half was already dissolving. This holds the gradient at full strength across the now-playing page AND the near half of each neighbor page, and only begins fading at the neighbor's MIDPOINT — so the now-playing page plus the near half of the Library/Queue reads as one continuous surface, with only the far half fading to the flat systemGroupedBackground.

Change

In PagerBackdrop (App/Continuity/Views/MainPagerView.swift), both bleed extension bands now span the full neighbor page height with a three-stop hold-then-fade gradient: the scrim-matched edge color is held from the page boundary through the neighbor's midpoint, then fades to the flat background over the far half. The now-playing AlbumBackdrop band and the scrim-match darkening are unchanged (now-playing stays pixel-identical).

File changed

App/Continuity/Views/MainPagerView.swift.

Testing

App-target SwiftUI can't be compiled on Linux CI (only ContinuityCore is Linux-testable); validated by review. Device verification pending — dark mode (primary) is targeted; light mode (near-white systemGroupedBackground) should be checked on device.

Slack thread: https://continuity-org.slack.com/archives/C0BCTF2C5NK/p1784611489906939


Generated by Claude Code

@jaasthisenna-jpg
jaasthisenna-jpg marked this pull request as ready for review July 21, 2026 13:02
@jaasthisenna-jpg
jaasthisenna-jpg merged commit fdb3d9b into main Jul 21, 2026
4 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.

3 participants