(backport?) when ArdourButton has a LED indicator, don't change font color
This commit is contained in:
parent
09542f4d25
commit
7e14e6c3d5
@ -289,7 +289,8 @@ ArdourButton::render (Cairo::RefPtr<Cairo::Context> const& ctx, cairo_rectangle_
|
||||
}
|
||||
|
||||
if ( active_state() == Gtkmm2ext::ExplicitActive ) {
|
||||
text_color = text_active_color;
|
||||
bool led = (_elements & Indicator)==Indicator;
|
||||
text_color = led ? text_inactive_color : text_active_color;
|
||||
led_color = led_active_color;
|
||||
} else {
|
||||
text_color = text_inactive_color;
|
||||
|
Loading…
Reference in New Issue
Block a user