On resizing an unselected MIDI note, make it the only one to be resized during that drag. Fixes #3188.
git-svn-id: svn://localhost/ardour2/branches/3.0@7171 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6fbaa5403b
commit
933388e7dc
@ -1626,7 +1626,10 @@ NoteResizeDrag::start_grab (GdkEvent* event, Gdk::Cursor *)
|
||||
relative = true;
|
||||
}
|
||||
|
||||
region->note_selected (cnote, true);
|
||||
/* select this note; if it is already selected, preserve the existing selection,
|
||||
otherwise make this note the only one selected.
|
||||
*/
|
||||
region->note_selected (cnote, cnote->selected ());
|
||||
|
||||
for (MidiRegionSelection::iterator r = ms.begin(); r != ms.end(); ) {
|
||||
MidiRegionSelection::iterator next;
|
||||
|
Loading…
Reference in New Issue
Block a user