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?