I know there was already an old similar topic there but it did not mention the assert that annoys me.
In my user interface I have Pan pots and they use juce::Slider set up with setRotaryParameter(-halfPi, halfPi);
this actually works fine, I get what I want, with 90 degrees to the left for the min value, and 90 degrees to the right for the max value.
My question is simple. Could you please remove the following line in Slider::setRotaryParameters (RotaryParameters p)?
jassert (p.startAngleRadians >= 0 && p.endAngleRadians >= 0);
I don’t see why a negative values would be a problem at all… otherwise how can you implement a pan pot with this class??
Fred - Merging Technologies