-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Add PointerScaleEvent and use in InteractiveViewer #112172
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
6b69fae to
5c5c09e
Compare
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.
Thanks for all the InteractiveViewer improvements. This seems reasonable to me. I'll review the engine PR and then come back to this when it's merged. I want to try this on my machine locally once that's merged too.
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.
Why are some of these parameters not used?
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.
I guess PointerPanZoomUpdateEvent.copyWith is doing the same thing below.
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.
The signature has to match PointerEvent.copyWith, but most parameters are not relevant
5c5c09e to
553c4c7
Compare
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 👍
Add new type of
PointerSignal, and handle it withinInteractiveViewer. For use in trackpad pinch-to-zoom where full gesture information is unavailable (web).Part of #112103
Sequence
Pre-launch Checklist
///).