Browse Source

Slider: allow a sliders text-box to update when a colour changes in the slider

v7.0.9
Anthony Nicholls 2 years ago
parent
commit
28c31b1f26
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/widgets/juce_Slider.cpp

+ 1
- 1
modules/juce_gui_basics/widgets/juce_Slider.cpp View File

@@ -1573,7 +1573,7 @@ void Slider::setPopupDisplayEnabled (bool showOnDrag, bool showOnHover, Componen
Component* Slider::getCurrentPopupDisplay() const noexcept { return pimpl->popupDisplay.get(); }
//==============================================================================
void Slider::colourChanged() { repaint(); }
void Slider::colourChanged() { lookAndFeelChanged(); }
void Slider::lookAndFeelChanged() { pimpl->lookAndFeelChanged (getLookAndFeel()); }
void Slider::enablementChanged() { repaint(); pimpl->updateTextBoxEnablement(); }


Loading…
Cancel
Save