mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-21 04:45:58 +01:00
Dropdown: adjust separator position and use themable outline color
This commit is contained in:
parent
4980efdfa5
commit
a18c8e3287
1 changed files with 3 additions and 3 deletions
|
|
@ -583,9 +583,9 @@ ArdourButton::render (Cairo::RefPtr<Cairo::Context> const& ctx, cairo_rectangle_
|
|||
}
|
||||
|
||||
if (_elements & MetaMenu) {
|
||||
cairo_move_to(cr, get_width() - floor (_diameter) - 5.5 , 1);
|
||||
cairo_line_to(cr, get_width() - floor (_diameter) - 5.5 , get_height () -1);
|
||||
cairo_set_source_rgba (cr, 0, 0, 0, 0.8);
|
||||
cairo_move_to(cr, get_width() - floor (_diameter) - 6.5, 1);
|
||||
cairo_line_to(cr, get_width() - floor (_diameter) - 6.5, get_height () -1);
|
||||
Gtkmm2ext::set_source_rgba (cr, outline_color);
|
||||
cairo_set_line_width(cr, 1);
|
||||
cairo_stroke(cr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue