-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add localFocalPoint to ScaleDetector #33955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/cc @mtcliatt |
| /// | ||
| /// See also: | ||
| /// | ||
| /// * [localFocalPoint], which is the same value reported in global |
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.
"reported in local" (and on 93)
Sorry for the drive-by review, I was just looking through the commit to learn more and spotted this easy-to-miss slip.
Since I'm here... LGTM! :)
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.
+1
justinmc
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.
LGTM other than the quick local/global swap mentioned by @mtcliatt.
Bonus points for adding a parameter that rhymes.
| /// | ||
| /// See also: | ||
| /// | ||
| /// * [localFocalPoint], which is the same value reported in global |
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.
+1
Description
Adds the localFocalPoint to ScaleStartDetails and ScaleUpdateDetails. I forgot to do this in #32192.
Related Issues
Fixes #33818
Tests
I added the following tests:
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?