mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Slider behaviour fix.
This commit is contained in:
parent
fc24a63ed1
commit
19a6a282a2
1 changed files with 6 additions and 1 deletions
|
|
@ -408,7 +408,12 @@ public:
|
|||
void updateText()
|
||||
{
|
||||
if (valueBox != nullptr)
|
||||
valueBox->setText (owner.getTextFromValue (currentValue.getValue()), dontSendNotification);
|
||||
{
|
||||
String newValue (owner.getTextFromValue (currentValue.getValue()));
|
||||
|
||||
if (newValue != valueBox->getText())
|
||||
valueBox->setText (newValue, dontSendNotification);
|
||||
}
|
||||
}
|
||||
|
||||
double constrainedValue (double value) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue