1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00

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

This commit is contained in:
Anthony Nicholls 2023-03-31 13:15:27 +00:00
parent 4fbc4da29a
commit 28c31b1f26

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(); }