mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
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
1 changed files with 4 additions and 1 deletions
|
|
@ -1626,7 +1626,10 @@ NoteResizeDrag::start_grab (GdkEvent* event, Gdk::Cursor *)
|
||||||
relative = true;
|
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(); ) {
|
for (MidiRegionSelection::iterator r = ms.begin(); r != ms.end(); ) {
|
||||||
MidiRegionSelection::iterator next;
|
MidiRegionSelection::iterator next;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue