p5.touchgui icon indicating copy to clipboard operation
p5.touchgui copied to clipboard

Issue with slider (also with crossfader)

Open J2thearo opened this issue 5 years ago • 3 comments

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 avatar Mar 24 '20 17:03 J2thearo

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

J2thearo avatar Mar 24 '20 17:03 J2thearo

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 avatar Jul 08 '22 12:07 everythingability

Oh hang on...

it does...

everythingability avatar Jul 08 '22 12:07 everythingability