juce::Slider bug report


Hi Guys,

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

Thanks !


This is fixed on the develop branch.


This bug is back


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


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