13
0

Yet another bug in previous commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@10974 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-12-11 14:07:24 +00:00
parent b4d7120a58
commit 692f857b83

View File

@ -4296,6 +4296,8 @@ NoteCreateDrag::grid_frames (framepos_t t) const
void void
NoteCreateDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor) NoteCreateDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor)
{ {
Drag::start_grab (event, cursor);
_drag_rect = new ArdourCanvas::SimpleRect (*_region_view->get_canvas_group ()); _drag_rect = new ArdourCanvas::SimpleRect (*_region_view->get_canvas_group ());
framepos_t pf = _drags->current_pointer_frame (); framepos_t pf = _drags->current_pointer_frame ();
@ -4340,7 +4342,7 @@ void
NoteCreateDrag::finished (GdkEvent* event, bool had_movement) NoteCreateDrag::finished (GdkEvent* event, bool had_movement)
{ {
if (!had_movement) { if (!had_movement) {
abort (); return;
} }
framepos_t const start = min (_note[0], _note[1]); framepos_t const start = min (_note[0], _note[1]);