projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e42d1e4
)
Ignore scroll-wheel while dragging notes.
author
Robin Gareus
<robin@gareus.org>
Thu, 9 Aug 2018 16:11:18 +0000
(18:11 +0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 9 Aug 2018 16:11:18 +0000
(18:11 +0200)
Previously, dragging a MIDI note and scrolling with scroll wheel
(to change velocity) made the note jump back to location before drag.
gtk2_ardour/midi_region_view.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/midi_region_view.cc
b/gtk2_ardour/midi_region_view.cc
index 75cf065e44e00d14a76e307d3881cb5010bbbef3..bf0595de75485dc18878bf9f44f390609933f0e1 100644
(file)
--- a/
gtk2_ardour/midi_region_view.cc
+++ b/
gtk2_ardour/midi_region_view.cc
@@
-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;
}