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

Made color changes trigger for a tap, not just a drag #67

Closed
wants to merge 1 commit into from
Closed

Made color changes trigger for a tap, not just a drag #67

wants to merge 1 commit into from

Conversation

kj800x
Copy link

@kj800x kj800x commented Apr 21, 2015

In previous versions the colors would not change for a tap, only for drags.
Yet, on the bars, the pointer would move to the tapped position, suggesting
this wasn't the intended behavior. This commit addresses this problem.

This pull request solves #66 (Issue 66)

Changes:
The bars run the same code for taps as they do for drags.
The color picker itself now responds to taps, to ensure a consistent experience.
Minor refactoring by pulling repeated code out of if-else chains to outside the chain.

In previous versions the colors would not change for a tap, only for drags.
Yet, on the bars, the pointer would move to the tapped position, suggesting
this wasn't the intended behavior. This commit addresses this problem.

This commit solves #66

Changes:
  The bars run the same code for taps as they do for drags.
  The color picker itself now responds to taps, to ensure a consistent experience.
  Minor refactoring by pulling repeated code out of if-else chains to outside the chain.
@davideas
Copy link

davideas commented Jun 1, 2015

+1

Solmath added a commit to Solmath/HoloColorPicker that referenced this pull request Aug 4, 2018
@kj800x
Copy link
Author

kj800x commented Mar 2, 2019

Closing this since it's stale

@kj800x kj800x closed this Mar 2, 2019
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.

2 participants