fix background of ArdourButtons with no Body

This commit is contained in:
Robin Gareus 2016-07-03 22:18:23 +02:00
parent 15b006c6c2
commit 602b1597a4

View file

@ -290,7 +290,7 @@ ArdourButton::render (cairo_t* cr, cairo_rectangle_t *)
}
//show the "convex" or "concave" gradient
if (!_flat_buttons) {
if (!_flat_buttons && (_elements & Body)==Body) {
if ( active_state() == Gtkmm2ext::ExplicitActive && ( !((_elements & Indicator)==Indicator) || use_custom_led_color) ) {
//concave
cairo_set_source (cr, concave_pattern);