mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue