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:
parent
b4d7120a58
commit
692f857b83
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user