Limit Slider?


#1

Hello, i'm trying to find a way to have user allowable slider limits.

I saw the snapToValue class, but it seems it isn't triggered always, since i can still set an arbitrary value.

One thing to notice is that this slider is the infamous FilmStripSlider class which allows knobman images.

im trying to do: firstAnimationFrame, and lastAnimationFrame, and then in the snapValue function.. return another value between those ranges.

Also this slider is set to a range of (0, 127, 1) and then its value is translated into 0-1 for parameters.

How can i limit the slider ranges permanently, thanks in advance. (knob.setMinAndMaxFrames(30, 100); and then do translation accordingly.

:)