-
Notifications
You must be signed in to change notification settings - Fork 6k
Fix issue Flutter Web cubic bounds misaligning. #19054
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
ferhatb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fix.
|
@ferhatb Shouldn't you be asking for a test? This should be easy to test. I'm not sure of the protocol for web_ui. |
Yes normally we would. There is a path update with new tests that covers the fix, opted to unblock. |
Paths with cubic commands will misalign as the next point isn't being propagated as the path commands are iterated while the bounds are computed. This is causing inaccurate bounds for shapes, as below: