diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index e8770bcfef..cc62e58608 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -6749,7 +6749,7 @@ NoteCreateDrag::motion (GdkEvent* event, bool) //when the user clicks and starts a drag to define the note's length, require notes to be at least |this| long const Temporal::Beats min_length (_region_view->get_draw_length_beats (pos)); Temporal::Beats aligned_beats = round_to_grid (pos, event); - _note[1] = std::max (aligned_beats, (pos.beats() + min_length)); + _note[1] = std::max (aligned_beats, (_note[0].beats() + min_length)); const timecnt_t rrp1 (_region_view->region()->region_relative_position (_note[0])); const timecnt_t rrp2 (_region_view->region()->region_relative_position (_note[1]));