fix scroll wheel handling on both gain faders and parameter controls in automation track headers

git-svn-id: svn://localhost/ardour2/branches/3.0@10903 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-12-05 18:17:31 +00:00
parent 0e92aee0b1
commit 3c3bceccf9
2 changed files with 3 additions and 4 deletions

View file

@ -182,6 +182,8 @@ AutomationTimeAxisView::AutomationTimeAxisView (
if (_controller) {
/* add bar controller */
controls_table.attach (*_controller.get(), 0, 8, 1, 2, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND);
/* note that this handler connects *before* the default handler */
_controller->event_widget().signal_scroll_event().connect (mem_fun (*this, &AutomationTimeAxisView::controls_ebox_scroll), false);
}
controls_table.show_all ();