Linear Slider - Prevent value jumping to mouse click point
-
I've drawn myself a modwheel in laf using drawLinearslider but the behaviour isn't right as wherever you click the mouse on the slider the value jumps to that point. I want behaviour like a rotary knob, click and drag to change value... Any ideas?
-
@DanH It shouldn't be the case if the slider mode is set to
knob -
@ustk yeah but then the laf doesn't work....
-
@DanH why is that? In knob mode you should be able to draw anything, like faking a vertical slider
-
@ustk that's what I thought too

-
@DanH
drawRotarySlider -
@d-healey @ustk oh hang on, I wasn't doing both, just one or the other

-
if (obj.style == int) { do laf } if (obj.style == int) { do another laf }