13
0

slight code replacement

This commit is contained in:
Paul Davis 2014-01-20 10:52:27 -05:00
parent e97b7bb924
commit 7eb40ae6c8

View File

@ -389,13 +389,6 @@ MidiRegionView::canvas_group_event(GdkEvent* ev)
return trackview.editor().canvas_region_view_event (ev, group, this);
}
void
MidiRegionView::remove_ghost_note ()
{
delete _ghost_note;
_ghost_note = 0;
}
bool
MidiRegionView::enter_notify (GdkEventCrossing* ev)
{
@ -3548,6 +3541,13 @@ MidiRegionView::create_ghost_note (double x, double y)
show_verbose_cursor (_ghost_note->note ());
}
void
MidiRegionView::remove_ghost_note ()
{
delete _ghost_note;
_ghost_note = 0;
}
void
MidiRegionView::snap_changed ()
{