Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@luigi-rosso
Copy link
Contributor

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:

front_attachment

@fluttergithubbot
Copy link
Contributor

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.

@auto-assign auto-assign bot requested a review from gaaclarke June 16, 2020 02:05
@luigi-rosso luigi-rosso changed the title Fix issue with cubic bounds misaligning. Fix issue Flutter Web cubic bounds misaligning. Jun 16, 2020
Copy link
Contributor

@ferhatb ferhatb left a 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.

@gaaclarke
Copy link
Member

@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.

@ferhatb
Copy link
Contributor

ferhatb commented Jun 18, 2020

@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.

@ferhatb ferhatb merged commit a5a2122 into flutter:master Jun 19, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants