Slider suggestion

Hi again :slight_smile:

In the code I’m working on, there’s a custom lookandfeel that draws the fill of normal-sized Rotary sliders a bit differently:

When there’s a default value (Slider::setDoubleClickReturnValue) set on the slider, the fill is drawn from the position of this value to the actual position of the slider.

These few extra lines allows those who want it to have rotary panpots and eq gains with a very neutral look when in a bypassed position.

I just thought I could share the idea :slight_smile:

Yes - nice idea!

I implemented a similar thing, though I always draw from zero. I posted the code a long while ago.

Edit >

Here it is. Just two lines by the looks of it: