From aa9fd3334976ceae7e164c3fabc87e55fc921dff Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 9 Aug 2010 14:49:03 +0000 Subject: [PATCH] Update note name correctly during drag. Fixes #3382. git-svn-id: svn://localhost/ardour2/branches/3.0@7572 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_drag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index cab8a929ef..58bccf68d4 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -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); }