Ignore scroll-wheel while dragging notes.
Previously, dragging a MIDI note and scrolling with scroll wheel (to change velocity) made the note jump back to location before drag.
This commit is contained in:
parent
e42d1e49c7
commit
83981a37a3
@ -695,6 +695,9 @@ MidiRegionView::motion (GdkEventMotion* ev)
|
|||||||
bool
|
bool
|
||||||
MidiRegionView::scroll (GdkEventScroll* ev)
|
MidiRegionView::scroll (GdkEventScroll* ev)
|
||||||
{
|
{
|
||||||
|
if (trackview.editor().drags()->active()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (_selection.empty()) {
|
if (_selection.empty()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user