mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
fix background of ArdourButtons with no Body
This commit is contained in:
parent
15b006c6c2
commit
602b1597a4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue