-
Notifications
You must be signed in to change notification settings - Fork 6k
Add discrete scale pointer signal #36342
Conversation
4949a98 to
d317a25
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.
This looks fine to me, but is there a reasonable test that we can add here or do we need a test exemption?
CC @mdebbar It would be nice to have someone who knows more about the web engine review this as well if you have time!
dkwingsmt
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
I just added it to the already-existing tests of PointerSignalEvent, it's only a one line change so not obvious. But that will test that it can be properly handled by the event converter. |
Add a new discrete event type to represent a one-time zoom/scale, not as part of a wider gesture. Needed to support pinch-to-zoom on web as we cannot determine the start and end of a pinch, so it can't use
PointerPanZoomsystem.Part of flutter/flutter#112103
Sequence
Pre-launch Checklist
writing and running engine tests.
///).