(this is for a vertical slider)
What I want is to only move the slider knob when the slider knob was clicked on the first place and ignore any clicks on the rail (like many plugins behave). Is there an easy way to do this?
setSliderSnapsToMousePosition is almost what I want, but whenever I click outside the knob and inside the slider rail, and then drag, the slider moves.
If I have to create a custom slider class, what’s the best way to go?