summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_time_axis.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-09-06 12:46:28 +0200
committerRobin Gareus <robin@gareus.org>2014-09-06 12:46:28 +0200
commitae1200716f749050d115558a984f3d4cdeb709b0 (patch)
tree281308212fb1bd14f2eef29bda1da8116980ee42 /gtk2_ardour/automation_time_axis.cc
parentd63a4edfbf1ae0af78809921832832cca38052f5 (diff)
fix track-header vertical scrolling
Ignore vertical scroll events on horizontal Automation Track Sliders. see also 70be12afaa6
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r--gtk2_ardour/automation_time_axis.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc
index 75daefa6a7..3915b8c626 100644
--- a/gtk2_ardour/automation_time_axis.cc
+++ b/gtk2_ardour/automation_time_axis.cc
@@ -221,6 +221,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (
if (_controller) {
/* add bar controller */
+ _controller.get()->set_tweaks (PixFader::Tweaks(_controller.get()->tweaks() | PixFader::NoVerticalScroll));
controls_table.attach (*_controller.get(), 2, 4, 0, 1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND, 1, 0);
/* note that this handler connects *before* the default handler */
_controller->event_widget().signal_scroll_event().connect (mem_fun (*this, &AutomationTimeAxisView::controls_ebox_scroll), false);