mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
When drawing a note, only play it once
Previously two identical Note on events were sent: * Select newly created note -> note-on event * Play newly created note -> note-on event
This commit is contained in:
parent
9de2b3435d
commit
f693c0406a
1 changed files with 1 additions and 4 deletions
|
|
@ -910,11 +910,8 @@ MidiRegionView::create_note_at (timepos_t const & t, double y, Temporal::Beats l
|
|||
apply_note_diff();
|
||||
|
||||
trackview.editor().set_selected_midi_region_view (*this);
|
||||
list<Evoral::event_id_t> to_be_selected;
|
||||
to_be_selected.push_back (new_note->id());
|
||||
select_notes (to_be_selected, true);
|
||||
|
||||
play_midi_note (new_note);
|
||||
/* apply_note_diff above selects and plays the newly created note */
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue