Apply velocity change before looking up velocity value for the verbose cursor. Should fix #3246.
git-svn-id: svn://localhost/ardour2/branches/3.0@7406 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -2398,14 +2398,14 @@ MidiRegionView::change_velocities (bool up, bool fine, bool allow_smush)
|
||||
i = next;
|
||||
}
|
||||
|
||||
apply_diff();
|
||||
|
||||
if (!_selection.empty()) {
|
||||
char buf[24];
|
||||
snprintf (buf, sizeof (buf), "Vel %d",
|
||||
(int) (*_selection.begin())->note()->velocity());
|
||||
trackview.editor().show_verbose_canvas_cursor_with (buf);
|
||||
}
|
||||
|
||||
apply_diff();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user