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:
parent
8d747e647a
commit
c45d19494f
|
@ -2398,14 +2398,14 @@ MidiRegionView::change_velocities (bool up, bool fine, bool allow_smush)
|
||||||
i = next;
|
i = next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
apply_diff();
|
||||||
|
|
||||||
if (!_selection.empty()) {
|
if (!_selection.empty()) {
|
||||||
char buf[24];
|
char buf[24];
|
||||||
snprintf (buf, sizeof (buf), "Vel %d",
|
snprintf (buf, sizeof (buf), "Vel %d",
|
||||||
(int) (*_selection.begin())->note()->velocity());
|
(int) (*_selection.begin())->note()->velocity());
|
||||||
trackview.editor().show_verbose_canvas_cursor_with (buf);
|
trackview.editor().show_verbose_canvas_cursor_with (buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_diff();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user