kopia lustrzana https://github.com/jameshball/osci-render
Reduce how dark the disabled audio effect names are
rodzic
72cc253159
commit
7a5ab4d31f
|
@ -15,7 +15,7 @@ EffectsListComponent::EffectsListComponent(DraggableListBox& lb, AudioEffectList
|
|||
this->effect.setValue(i, effectComponent->slider.getValue());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
list.setEnabled(selected.getToggleState());
|
||||
selected.onClick = [this, weakEffectComponent] {
|
||||
if (auto effectComponent = weakEffectComponent.lock()) {
|
||||
|
@ -68,7 +68,7 @@ void EffectsListComponent::paint(juce::Graphics& g) {
|
|||
|
||||
void EffectsListComponent::paintOverChildren(juce::Graphics& g) {
|
||||
if (!selected.getToggleState()) {
|
||||
g.setColour(juce::Colours::black.withAlpha(0.5f));
|
||||
g.setColour(juce::Colours::black.withAlpha(0.3f));
|
||||
auto bounds = list.getBounds();
|
||||
bounds.removeFromBottom(2);
|
||||
g.fillRect(bounds);
|
||||
|
|
Ładowanie…
Reference in New Issue