mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
MIDI: ctrl-d now duplicates selected notes
This commit also fixes selection-after-paste, so that the selection is always the newly pasted notes.
This commit is contained in:
parent
8d4516228a
commit
9e77d8923a
4 changed files with 55 additions and 2 deletions
|
|
@ -208,6 +208,7 @@ public:
|
|||
void select_range(Temporal::timepos_t const & start, Temporal::timepos_t const & end);
|
||||
void invert_selection ();
|
||||
void extend_selection ();
|
||||
void duplicate_selection ();
|
||||
|
||||
Temporal::Beats earliest_in_selection ();
|
||||
void move_selection(Temporal::timecnt_t const & dx, double dy, double cumulative_dy);
|
||||
|
|
@ -545,6 +546,7 @@ public:
|
|||
double _last_event_y;
|
||||
bool _entered;
|
||||
NoteBase* _entered_note;
|
||||
bool _pasting;
|
||||
|
||||
bool _mouse_changed_selection;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue