p5.touchgui
p5.touchgui copied to clipboard
Issue with slider (also with crossfader)
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
And best wishes for a speedy recovery! I just read in another comment that you are sick.
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
Oh hang on...
it does...