Hello,
I have a problem with RANGE of ControlP5:
1) I create a new Range, width 500, max=10.0, mavValue=10.0.
>> OK.
like this: [####################]
2) I change max to 100.0 (range.setMax(100.0); range.setHighValue(100);)
>> Now the foreground of the range is displayed 10x bigger (5000px) (but the 'width' keep the same).
like that: [####################]##############################################################...
Same problem if I change to a lower value, it's smaller.
It is a known bug? Did I forget something?
Can I fix it?
EDIT: YES it was a bug, fixed in the last version of ControlP5 (0.5.4).
1