Repository navigation
Fix TableBorder.lerp and scale dropping borderRadius - #195398
ChandraChaan wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates TableBorder to scale and interpolate its borderRadius property in the scale and lerp methods, respectively. It also adds corresponding unit tests in table_border_test.dart to verify these behaviors. There are no review comments, and I have no feedback to provide.
|
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
The one golden change, |
|
Thanks for adding the label, @justinmc. The merge removed the |
|
Thanks for adding the label, @navaronbracke. The presubmits ran: 75 of 76 builds passed, and the one failure is Could someone with access re-run that job? I do not think I can from my side. |
|
Friendly follow-up, @navaronbracke and @justinmc: this is approved and everything except If re-running that one job is awkward, I am happy to merge |
1ea4e97 to
f95c307
Compare
|
I've rebased, since I think that smoke test might be behind because of the outdated HEAD on this PR? Let's keep an eye on it |
|
Thank you for rebasing and re-adding the label, @navaronbracke! That did it: all 77 presubmit builds passed this time, including Once that passes, would you be able to add the |
TableBorder.lerpandTableBorder.scaleconstruct a newTableBorderfrom the six border sides only, soborderRadiusfalls back toBorderRadius.zero. A table with rounded corners loses them while its border is animating.This change:
borderRadiusinlerpwithBorderRadius.lerpborderRadiusinscale, matching howBoxDecorationtreats its radius (lerp(null, b, t)usesscale, so a rounded border animating in from nothing now grows its corners too)Fixes #195397
Pre-launch Checklist
///).