plotly / dash-daq

Control components for Dash
MIT License
141 stars 40 forks source link

Knob 1.5.1 #169

Open kachun-osram opened 2 years ago

kachun-osram commented 2 years ago

I have tried the 1.5.1 Knob, and 'touch' was working... thanks!

However, I believe now there has a off-by-one error... setting the value to min, will set the Knob display to max.

getValue(value) { return value > this.props.min && value < this.props.max ? value : this.props.min > value <---- should be :this.props.min >= value ? this.props.min : this.props.max; }