juce::Slider bug report


#1

Hi Guys,

If I set my range as is
setRange(0.f, 1.f, 1.f / 0x7fffffff)
I get an infinite loop.

Thanks !


#2

This is fixed on the develop branch.


#3

This bug is back


#4

line 116 replaced by

while ((v % 10) == 0 && numDecimalPlaces > 0)

fixes the issue.
or test if (v > 0)
like it was the case and looks like to have been removed


#5

Another fix will appear on the develop branch shortly. Thanks for reporting.