1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

Made Sliders preserve their skews when updating their range

This commit is contained in:
Tom Poole 2018-04-23 09:18:12 +01:00
parent 6f7f264d04
commit 9f85d53c66

View file

@ -136,7 +136,8 @@ public:
void setRange (double newMin, double newMax, double newInt)
{
normRange = NormalisableRange<double> (newMin, newMax, newInt);
normRange = NormalisableRange<double> (newMin, newMax, newInt,
normRange.skew, normRange.symmetricSkew);
updateRange();
}