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

Issue with slider (also with crossfader) #13

Open
J2thearo opened this issue Mar 24, 2020 · 3 comments
Open

Issue with slider (also with crossfader) #13

J2thearo opened this issue Mar 24, 2020 · 3 comments

Comments

@J2thearo
Copy link

Hi,

really awesome library by the way :-)

It would make me really happy if you could fix a very annoying bug.

Following case scenario:

slider = createSlider("Slider", 0, 0)
slider.min = 0;
slider.max = 100;
slider.val = 0; (I did this so the nub starts at the beginning of the slider instead at the middle)

if you click on the nub it suddenly jumps a small distance without actually moving the cursor. And if you move the nub along the slider then the mouse seems to be off, except in the middle of the slider. I observed a similar behaviour in a different project caused by the map() function, maybe it has something to do with it.

Thank you!
Greetings Jaro

@J2thearo
Copy link
Author

And best wishes for a speedy recovery! I just read in another comment that you are sick.

@everythingability
Copy link

Think this is a dead project. Hope they get well soon.

Just spent an hour trying to get vertical slider working
https://editor.p5js.org/tom.smith/sketches/pTfokYvGf

@everythingability
Copy link

Oh hang on...

it does...

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

No branches or pull requests

2 participants