Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
30b5f649e5
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      src/juce_appframework/gui/components/controls/juce_Slider.cpp

+ 2
- 4
src/juce_appframework/gui/components/controls/juce_Slider.cpp View File

@@ -638,10 +638,8 @@ void Slider::labelTextChanged (Label* label)
setValue (newValue, true, true); setValue (newValue, true, true);
sendDragEnd(); sendDragEnd();
} }
else
{
updateText();
}
updateText(); // force a clean-up of the text, needed in case setValue() hasn't done this.
} }
void Slider::buttonClicked (Button* button) void Slider::buttonClicked (Button* button)


Loading…
Cancel
Save