jhnsnc / precision-inputs

A highly customizable, accessible set of framework-agnostic input components for precision controls (knobs, dials, sliders, etc).
MIT License
51 stars 8 forks source link

Implement "disabled" state #25

Open loveaurell opened 2 years ago

loveaurell commented 2 years ago

Hi! Thanks for a terrific library. I use the FLStandardKnob for building a custom gui for my Bela FM synth.

However I found that it's missing a disabled state. If I get the time, I would be happy to try to implement it.

I'm thinking something like this:

Screenshot 2022-01-20 at 09 24 39

A guess the logic would be put into the KnobInput class and the conditionals for the visuals would be put in the standard-knob/grip-dial files respectively.

What are your thoughts?