do not clear a MIDI region's note selection when drag-creating a note
This commit is contained in:
parent
505bd41ad4
commit
8dfb49f446
@ -6846,7 +6846,6 @@ NoteCreateDrag::finished (GdkEvent* ev, bool had_movement)
|
|||||||
Temporal::Beats qn_length_beats = max (Temporal::Beats::ticks(1), Temporal::Beats (qn_length));
|
Temporal::Beats qn_length_beats = max (Temporal::Beats::ticks(1), Temporal::Beats (qn_length));
|
||||||
|
|
||||||
_editor->begin_reversible_command (_("Create Note"));
|
_editor->begin_reversible_command (_("Create Note"));
|
||||||
_region_view->clear_note_selection();
|
|
||||||
_region_view->create_note_at (start, _drag_rect->y0(), qn_length_beats, ev->button.state, false);
|
_region_view->create_note_at (start, _drag_rect->y0(), qn_length_beats, ev->button.state, false);
|
||||||
_editor->commit_reversible_command ();
|
_editor->commit_reversible_command ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user