mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
MIDI Draw: provide a menu for Channel and Velocity
This commit is contained in:
parent
2a6da0113f
commit
93e68a5a00
9 changed files with 299 additions and 20 deletions
|
|
@ -7033,6 +7033,8 @@ NoteCreateDrag::finished (GdkEvent* ev, bool had_movement)
|
|||
length = length.round_to_subdivision (div, RoundUpMaybe);
|
||||
}
|
||||
|
||||
#warning NUTEMPO ALERT not snapping correctly
|
||||
|
||||
_editor->begin_reversible_command (_("Create Note"));
|
||||
_region_view->create_note_at (timepos_t (start), _drag_rect->y0(), length, ev->button.state, false);
|
||||
_editor->commit_reversible_command ();
|
||||
|
|
@ -7116,6 +7118,8 @@ HitCreateDrag::motion (GdkEvent* event, bool)
|
|||
return;
|
||||
}
|
||||
|
||||
#warning NUTEMPO ALERT not snapping correctly
|
||||
|
||||
_region_view->create_note_at (timepos_t (start), _y, length, event->button.state, false);
|
||||
|
||||
_last_pos = timepos_t (start);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue