Fix shift-rect-select with MIDI notes.
This commit is contained in:
parent
69c3a807cc
commit
ec8c0e93bb
@ -636,7 +636,9 @@ MidiRegionView::motion (GdkEventMotion* ev)
|
|||||||
return true;
|
return true;
|
||||||
} else if (m == MouseObject) {
|
} else if (m == MouseObject) {
|
||||||
editor.drags()->set (new MidiRubberbandSelectDrag (dynamic_cast<Editor *> (&editor), this), (GdkEvent *) ev);
|
editor.drags()->set (new MidiRubberbandSelectDrag (dynamic_cast<Editor *> (&editor), this), (GdkEvent *) ev);
|
||||||
|
if (!Keyboard::modifier_state_equals (ev->state, Keyboard::TertiaryModifier)) {
|
||||||
clear_selection ();
|
clear_selection ();
|
||||||
|
}
|
||||||
_mouse_state = SelectRectDragging;
|
_mouse_state = SelectRectDragging;
|
||||||
return true;
|
return true;
|
||||||
} else if (m == MouseRange) {
|
} else if (m == MouseRange) {
|
||||||
|
Loading…
Reference in New Issue
Block a user