13
0

regionviews used for (MIDI) automation (CC) should not show a name highlight

This commit is contained in:
Paul Davis 2014-01-10 11:55:19 -05:00
parent 395c3d35d1
commit dca2c19ef5

View File

@ -69,8 +69,9 @@ RegionView::RegionView (ArdourCanvas::Group* parent,
Gdk::Color const & basic_color,
bool automation)
: TimeAxisViewItem (r->name(), *parent, tv, spu, basic_color, r->position(), r->length(), false, automation,
TimeAxisViewItem::Visibility (TimeAxisViewItem::ShowNameText|
TimeAxisViewItem::ShowNameHighlight| TimeAxisViewItem::ShowFrame))
(automation ? TimeAxisViewItem::ShowFrame :
TimeAxisViewItem::Visibility (TimeAxisViewItem::ShowNameText|
TimeAxisViewItem::ShowNameHighlight| TimeAxisViewItem::ShowFrame)))
, _region (r)
, sync_mark(0)
, sync_line(0)