Skip to content

Flatten segmented highlight; keep lineage framing clear of the pill - #42

Merged
PouyanJay merged 1 commit into
mainfrom
mobile-seg-flat-and-lineage-clearance
Jul 26, 2026
Merged

Flatten segmented highlight; keep lineage framing clear of the pill#42
PouyanJay merged 1 commit into
mainfrom
mobile-seg-flat-and-lineage-clearance

Conversation

@PouyanJay

Copy link
Copy Markdown
Owner

Follow-up after the two fixes still read as off on a real iPhone (verified now on WebKit, Safaris engine).

  • Segmented: the earlier fix made the thumb lighter but kept the shadow, whose blur leaked past the rounded corners on the near-black dark track and read as a crooked box. Dropped the shadow; the selected segment is now a flat fill a clear step lighter than the track (both themes).
  • Lineage pill overlap: the users overlap was the lineage view (a node under the floating pill), not the FocusView I had fixed. Recenter and the opening frame now reserve the pills band so the framed tree sits above it. (Manually pinch-zooming a single node can still tuck its lowest controls under the pill - that is inherent to a floating pill over a zoomable canvas; expanding the node is the clear-work flow.)

Verified on WebKit: flat clean segment, recenter leaves no node under the pill. lint 0, check 0, unit 817/817, e2e 17/17.

- Segmented control: drop the drop-shadow. On the near-black dark track its blur
  leaked past the rounded corners and read as a crooked/offset box; the selected
  segment is now a flat fill a clear step lighter than the track (color-mix,
  works in both themes), so selection reads through lightness alone.

- Lineage canvas: the transport pill floats over the bottom on a phone, so
  recenter and the opening frame now reserve its band - the framed tree sits
  ABOVE the pill instead of tucking its lowest node underneath it. Desktop
  reserves nothing.
@PouyanJay
PouyanJay merged commit c1ce05c into main Jul 26, 2026
2 checks passed
@PouyanJay
PouyanJay deleted the mobile-seg-flat-and-lineage-clearance branch July 26, 2026 22:11
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.

1 participant