mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
put back bottom line of region views if name highlight is not shown.
Also remove redundant line that replicated the one we modified.
This commit is contained in:
parent
06b700abf2
commit
8accb22923
1 changed files with 5 additions and 3 deletions
|
|
@ -209,7 +209,11 @@ TimeAxisViewItem::init (ArdourCanvas::Group* parent, double fpp, Gdk::Color cons
|
||||||
|
|
||||||
CANVAS_DEBUG_NAME (frame, string_compose ("frame for %1", get_item_name()));
|
CANVAS_DEBUG_NAME (frame, string_compose ("frame for %1", get_item_name()));
|
||||||
|
|
||||||
frame->set_outline_what (ArdourCanvas::Rectangle::What (ArdourCanvas::Rectangle::LEFT|ArdourCanvas::Rectangle::RIGHT));
|
if (Config->get_show_name_highlight()) {
|
||||||
|
frame->set_outline_what (ArdourCanvas::Rectangle::What (ArdourCanvas::Rectangle::LEFT|ArdourCanvas::Rectangle::RIGHT));
|
||||||
|
} else {
|
||||||
|
frame->set_outline_what (ArdourCanvas::Rectangle::What (ArdourCanvas::Rectangle::LEFT|ArdourCanvas::Rectangle::RIGHT|ArdourCanvas::Rectangle::BOTTOM));
|
||||||
|
}
|
||||||
|
|
||||||
if (_recregion) {
|
if (_recregion) {
|
||||||
frame->set_outline_color (ARDOUR_UI::config()->get_canvasvar_RecordingRect());
|
frame->set_outline_color (ARDOUR_UI::config()->get_canvasvar_RecordingRect());
|
||||||
|
|
@ -217,8 +221,6 @@ TimeAxisViewItem::init (ArdourCanvas::Group* parent, double fpp, Gdk::Color cons
|
||||||
frame->set_outline_color (ARDOUR_UI::config()->get_canvasvar_TimeAxisFrame());
|
frame->set_outline_color (ARDOUR_UI::config()->get_canvasvar_TimeAxisFrame());
|
||||||
}
|
}
|
||||||
|
|
||||||
frame->set_outline_what (ArdourCanvas::Rectangle::What (ArdourCanvas::Rectangle::RIGHT|ArdourCanvas::Rectangle::LEFT));
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
frame = 0;
|
frame = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue