after creating a note, don't add the ghost note until next motion.

This commit is contained in:
nick_m 2016-11-20 04:51:38 +11:00
parent cb64e926c2
commit e525be86d6

View File

@ -563,8 +563,8 @@ MidiRegionView::button_release (GdkEventButton* ev)
break;
case AddDragging:
/* Only create a ghost note when we added a note, not when we were drag-selecting. */
create_ghost_note (ev->x, ev->y, ev->state);
/* Don't a ghost note when we added a note - wait until motion to avoid visual confusion.
we don't want one when we were drag-selecting either. */
case SelectRectDragging:
editor.drags()->end_grab ((GdkEvent *) ev);
_mouse_state = None;