mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
continued work on timeline types conversion. in theory, just editor_ops.cc remains
This commit is contained in:
parent
aa56f4a16e
commit
2a08e4bdaa
46 changed files with 364 additions and 348 deletions
|
|
@ -753,7 +753,7 @@ AutomationTimeAxisView::build_display_menu ()
|
|||
}
|
||||
|
||||
void
|
||||
AutomationTimeAxisView::add_automation_event (GdkEvent* event, samplepos_t sample, double y, bool with_guard_points)
|
||||
AutomationTimeAxisView::add_automation_event (GdkEvent* event, timepos_t const & pos, double y, bool with_guard_points)
|
||||
{
|
||||
if (!_line) {
|
||||
return;
|
||||
|
|
@ -768,7 +768,7 @@ AutomationTimeAxisView::add_automation_event (GdkEvent* event, samplepos_t sampl
|
|||
return;
|
||||
}
|
||||
|
||||
timepos_t when (sample);
|
||||
timepos_t when (pos);
|
||||
_editor.snap_to_with_modifier (when, event);
|
||||
|
||||
if (UIConfiguration::instance().get_new_automation_points_on_lane()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue