add velocity item to MIDI track automation menu
This commit is contained in:
parent
1d117aa372
commit
6cb4d01f1f
@ -725,13 +725,16 @@ MidiTimeAxisView::build_automation_action_menu (bool for_selection)
|
|||||||
|
|
||||||
automation_items.push_back (SeparatorElem());
|
automation_items.push_back (SeparatorElem());
|
||||||
|
|
||||||
/* these 2 MIDI "command" types are semantically more like automation
|
/* these 3 MIDI "command" types are semantically more like automation
|
||||||
* than note data, but they are not MIDI controllers. We give them
|
* than note data, but they are not MIDI controllers. We give them
|
||||||
* special status in this menu, since they will not show up in the
|
* special status in this menu, since they will not show up in the
|
||||||
* controller list and anyone who actually knows something about MIDI
|
* controller list and anyone who actually knows something about MIDI
|
||||||
* (!) would not expect to find them there.
|
* (!) would not expect to find them there.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
add_channel_command_menu_item (automation_items, _("Velocity"), MidiVelocityAutomation, 0);
|
||||||
|
automation_items.back().set_sensitive (!for_selection || _editor.get_selection().tracks.size() == 1);
|
||||||
|
|
||||||
add_channel_command_menu_item (automation_items, _("Bender"), MidiPitchBenderAutomation, 0);
|
add_channel_command_menu_item (automation_items, _("Bender"), MidiPitchBenderAutomation, 0);
|
||||||
automation_items.back().set_sensitive (!for_selection || _editor.get_selection().tracks.size() == 1);
|
automation_items.back().set_sensitive (!for_selection || _editor.get_selection().tracks.size() == 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user