Rweak selection+color semantics
This commit is contained in:
parent
973e9ad132
commit
065c09e418
@ -991,7 +991,9 @@ TimeAxisView::get_selection_rect (uint32_t id)
|
||||
|
||||
rect->rect = new ArdourCanvas::Rectangle (selection_group);
|
||||
CANVAS_DEBUG_NAME (rect->rect, "selection rect");
|
||||
rect->rect->set_outline (false);
|
||||
rect->rect->set_outline (true);
|
||||
rect->rect->set_outline_width (1.0);
|
||||
rect->rect->set_outline_color (UIConfiguration::instance().color ("selection"));
|
||||
rect->rect->set_fill_color (UIConfiguration::instance().color_mod ("selection rect", "selection rect"));
|
||||
|
||||
rect->start_trim = new ArdourCanvas::Rectangle (selection_group);
|
||||
|
@ -683,7 +683,7 @@ TimeAxisViewItem::get_fill_color () const
|
||||
const std::string mod_name = (_dragging ? "dragging region" : fill_color_name);
|
||||
|
||||
if (_selected) {
|
||||
return UIConfiguration::instance().color_mod ("selected region base", mod_name);
|
||||
return UIConfiguration::instance().color ("selected region base");
|
||||
} else if (_recregion) {
|
||||
return UIConfiguration::instance().color ("recording rect");
|
||||
} else if ((!UIConfiguration::instance().get_show_name_highlight() || high_enough_for_name) &&
|
||||
|
Loading…
Reference in New Issue
Block a user