Update slider colours for new selected group
| 138 | |
| 139 | // Update slider colours for new selected group |
| 140 | void CommonSlider::selectedCommonParamsChanged(ParamCommon* newParams) { |
| 141 | setColour(juce::Slider::ColourIds::rotarySliderOutlineColourId, getUsedColour()); |
| 142 | // Update active parameter pointer |
| 143 | parameter = parameters.getUsedParam(newParams, mType); |
| 144 | } |
| 145 | |
| 146 | // Get the colour of the parameter at the level that's used (global, note) |
| 147 | juce::Colour CommonSlider::getUsedColour() { |
nothing calls this directly
no test coverage detected