Slider::setRange() and skew factor


#1

the following used to work :

slider.setSkewFactor (0.3);
slider.setRange (0., 100.);

but with the recent changes with the use of NormalisableRange it does not work anymore, because slider::setRange() is not taking into account the existing skew factor when creating a new NormalisableRange.
fix :

void setRange (double newMin, double newMax, double newInt)
{
    normRange = NormalisableRange<double> (newMin, newMax, newInt,
                                           normRange.skew, normRange.symmetricSkew);
    updateRange();
}

#2

Thanks for reporting. I’ll get this fixed.