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:
Robin Gareus 2018-08-09 18:11:18 +02:00
parent e42d1e49c7
commit 83981a37a3

View File

@ -695,6 +695,9 @@ MidiRegionView::motion (GdkEventMotion* ev)
bool
MidiRegionView::scroll (GdkEventScroll* ev)
{
if (trackview.editor().drags()->active()) {
return false;
}
if (_selection.empty()) {
return false;
}