Two/Three value sliders and setSliderSnapsToMousePosition

Hi folks,

I’m wondering, is there a specific reason for multiple-value sliders to disregard setSliderSnapsToMousePosition state?

I have a panel in one of my plugins with basic linear sliders and two value sliders altogether, and I’d like them all to consistently not snap on click position, but I can’t find a way to implement that for two value sliders, does anyone perhaps have a workaround?



I’m bumping this up in case anyone has an idea how to work around this.

In Slider::Pimpl::handleAbsoluteDrag, is there a reason for Two/Three value sliders not to be included in the list of linear slider types in the first if case?


Bumping also, looks like it’s not possible to customise unless we dig into the Pimpl.

This would be quite nice to have. I’m also running in to this

there is a FR here for it: Slider: option to disable snap to mouse on 2/3 values sliders