Suggestion: a slight relaxation inside juce_Slider.h


#1

Since getTextFromValue() is, rightly, declared virtual, I think that “numDecimalPlaces” and “textSuffix” should be declared protected, to give to the overriding method at least the same capabilities of the base one.


#2

Hello Jules, could you please let me know what you think about this?


#3

Ok. Making them protected wouldn’t be a very good idea, but I will add some accessor methods to get their values.


#4

Thanks!