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:
parent
e1cd6653da
commit
aa9fd33349
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user