Position Rotary Slider on MouseClick

Has anyone implemented a mouseClick for a Rotary Slider eg. when a value is clicked on a displayed value like frequency, then the rotary slider moves to that position.

Not sure how to do this or if it works - I noticed that is works for a linear slider.

Any advice is greatly appreciated. Thanks

I was about suggesting Slider::setSliderSnapsToMousePosition (true), but seems with Rotary you are out of luck with that one :frowning: