-
Notifications
You must be signed in to change notification settings - Fork 928
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
Add UIGestureRecognizerDelegate and PanGestureRecogniser plus default… #3597
Add UIGestureRecognizerDelegate and PanGestureRecogniser plus default… #3597
Conversation
… behavior to allow all gestures simultaneously recognized (rust-windowing#3429)
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.
Gave it a quick look, will maybe take a further look later
…vior matches macos.\nRotation gesture units from iOS sent in degrees instead of radians.\nMany small changes from PR feedback.
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 like what you've done with storing the previous values to calculate the deltas, that makes a lot of sense to me.
… feedback related changes.
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.
Left a bunch of nits, once you've fixed those I think we're good.
Thanks @jpedrick, and apologies that I left this behind for like a month |
- Allow all gestures simultaneously recognized. - Add PanGestureRecogniser with min/max number of touches. - Fix sending delta values relative to Update instead to match macOS. - Fix rotation gesture units from iOS to be in degrees instead of radians. Co-authored-by: Mads Marquart <[email protected]>
No worries, glad we got it merged! |
This PR adds:
- gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:
-> truechangelog
module if knowledge of this change could be valuable to users