13
0

Ensure correct initial automation region view position.

This commit is contained in:
nick_m 2016-10-15 23:17:19 +11:00
parent 2606b81d04
commit 7da51b9792

View File

@ -52,6 +52,8 @@ AutomationRegionView::AutomationRegionView (ArdourCanvas::Container*
, _source_relative_time_converter(region->session().tempo_map(), region->position() - region->start()) , _source_relative_time_converter(region->session().tempo_map(), region->position() - region->start())
, _parameter(param) , _parameter(param)
{ {
TimeAxisViewItem::set_position (_region->position(), this);
if (list) { if (list) {
assert(list->parameter() == param); assert(list->parameter() == param);
create_line(list); create_line(list);