Skip to content

Fix PvotSwipeRow corner bleed and let it take a firmer swipe - #33

Merged
madhurmehta007 merged 2 commits into
mainfrom
fix/swipe-row-corners
Nov 2, 2026
Merged

madhurmehta007 merged 2 commits into
mainfrom
fix/swipe-row-corners

Conversation

@madhurmehta007

Copy link
Copy Markdown
Contributor
  • fix: Keep PvotSwipeRow's action color out of its corners: a settle left the row a fraction of a pixel off, so the action color was drawn under the whole row and showed through its rounded corners. The settle now lands exactly on its target, and the color is drawn only in the gap the swipe opens.
  • feat: Let PvotSwipeRow take a firmer swipe: new thresholdFraction and dragResistance parameters (defaults keep today's behaviour). Covered by PvotSwipeRowStateTest; API dump and CHANGELOG updated.

Phone's feat/kotlin-compose-migration already uses the new parameters, so its CI fails to compile until this is merged.

Assisted-By: LLM
Signed-off-by: madhurmehta007 <12madhurmehta@gmail.com>
Assisted-By: LLM
Signed-off-by: madhurmehta007 <12madhurmehta@gmail.com>
@madhurmehta007
madhurmehta007 merged commit 49513ee into main Nov 2, 2026
7 checks passed
@madhurmehta007
madhurmehta007 deleted the fix/swipe-row-corners branch November 2, 2026 18:35
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