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

Added move thumbs by touch + fix for stuck thumbs #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GiladR1979
Copy link

Now touching slider moves the closest thumb to touch point.
Also- fixed a bug- when two thumbs are at the extreme- trying to drag open the range doesn't work because the most extreme thumb gets the touch (instead of the inner thumb that needs to move). Also, dragging one thumb over the other opens the range in the opposite direction (the thumbs "flip sides" and continue to move).

Now touching slider moves the closest thumb to touch point.
Also- fixed a bug- when two thumbs are at the extreme- trying to drag open the range doesn't work because the most extreme thumb gets the touch (instead of the inner thumb that needs to move). Also, dragging one thumb over the other opens the range in the opposite direction (the thumbs "flip sides" and continue to move).
@scottcc
Copy link

scottcc commented Oct 19, 2017

Not that I have any say in this project really (but I do use it) - but the indentation you got going on in this patch is whack. Can't really see what's changing, looks like everything is.

@Sundin
Copy link

Sundin commented Oct 19, 2017

I agree with @scottcc, and another thing (please consider it constructive feedback! 😃 ): it's no point keeping code that you have commented away in your commit, in case anybody needs that code back, it always remain in the git history.

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.

3 participants