mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
parent
8d63747965
commit
eabf835cb7
1 changed files with 2 additions and 2 deletions
|
|
@ -677,11 +677,11 @@ float Slider::getLinearSliderPos (const double value)
|
|||
|
||||
if (maximum > minimum)
|
||||
{
|
||||
if (value <= minimum)
|
||||
if (value < minimum)
|
||||
{
|
||||
sliderPosProportional = 0.0;
|
||||
}
|
||||
else if (value >= maximum)
|
||||
else if (value > maximum)
|
||||
{
|
||||
sliderPosProportional = 1.0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue