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:
parent
6f7f264d04
commit
9f85d53c66
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue