mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Ensure correct initial automation region view position.
This commit is contained in:
parent
2606b81d04
commit
7da51b9792
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue