Skip to content

fix(tokens): round the explainer slider's fill at the far end - #1661

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/explainer-slider-track-clip
Oct 2, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
fix/explainer-slider-track-clip

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

With the Market Cap explainer slider dragged fully right, the green fill ended in square corners instead of following the track's rounded end.

The track sets trackInsideCornerSize = 0.dp so the fill ends flush under the thumb mid-drag. At full position that inside corner becomes the track's right edge. Clipping the track to CircleShape rounds both ends; mid-drag the square end is still under the thumb, so nothing changes there.

The track uses a square inside corner so the fill ends flush under the
thumb. At full position that corner is the track's right edge, so the
green fill showed square corners. Clip the track to its pill shape.
@bmc08gt bmc08gt self-assigned this Oct 2, 2026
@github-actions github-actions Bot added area: tokens Token accounts, balances, token info type: fix Bug fix labels Oct 2, 2026
@bmc08gt
bmc08gt merged commit 850b235 into code/cash Oct 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tokens Token accounts, balances, token info type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant