13
0

Update note name correctly during drag. Fixes #3382.

git-svn-id: svn://localhost/ardour2/branches/3.0@7572 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-08-09 14:49:03 +00:00
parent e1cd6653da
commit aa9fd33349

View File

@ -3872,7 +3872,7 @@ NoteDrag::motion (GdkEvent*, bool)
region->move_selection (dx, dy);
char buf[12];
snprintf (buf, sizeof (buf), "%s (%d)", Evoral::midi_note_name (cnote->note()->note()).c_str(),
snprintf (buf, sizeof (buf), "%s (%d)", Evoral::midi_note_name (cnote->note()->note() + drag_delta_note).c_str(),
(int) floor ((cnote->note()->note() + drag_delta_note)));
_editor->show_verbose_canvas_cursor_with (buf);
}