Skip to content
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

ColorPickerHueRing improvements #87

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JCapucho
Copy link

@JCapucho JCapucho commented Aug 4, 2022

Adds a new option to toggle between the always win pan gesture recognizer with a new recognizer that checks if the pointer event is inside the ring.

And a onEnd callback that is called when the users finishes the pan gesture on the ring.

I implemented this options for a project I'm working on and since it might be useful to more people decided on upstreaming them, if this changes aren't desired feel free to close the PR.

Adds a new option to toggle between the always win pan gesture recognizer with a
new recognizer that checks if the pointer event is inside the ring.

This allows direct users of the `ColorPickerHueRing` to be able to let
events that are in the bounds of the hue ring but not in the ring to
reach parents of the widget.
This event is triggered when the users finishes the pan gesture on the
ring.

This allows direct users of `ColorPickerHueRing` to be notified when the
user stops interacting with the hue ring and act accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant