control point drag: set time domain to match the list being modified

Previously this used the editor's default time domain
This commit is contained in:
Paul Davis 2023-02-06 20:53:53 -07:00
parent c41de90abd
commit fe64ab9d31

View File

@ -4714,6 +4714,8 @@ ControlPointDrag::ControlPointDrag (Editor* e, ArdourCanvas::Item* i)
_point = reinterpret_cast<ControlPoint*> (_item->get_data ("control_point"));
assert (_point);
set_time_domain (_point->line().the_list()->time_domain());
}