mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 22:25:46 +01:00
fix track-header vertical scrolling
Ignore vertical scroll events on horizontal
Automation Track Sliders. see also 70be12afaa
This commit is contained in:
parent
d63a4edfbf
commit
ae1200716f
2 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -319,8 +319,6 @@ RouteTimeAxisView::set_route (boost::shared_ptr<Route> rt)
|
|||
|
||||
route_group_menu = new RouteGroupMenu (_session, plist);
|
||||
|
||||
gm.get_gain_slider().signal_scroll_event().connect(sigc::mem_fun(*this, &RouteTimeAxisView::controls_ebox_scroll), false);
|
||||
|
||||
gm.get_level_meter().signal_scroll_event().connect (sigc::mem_fun (*this, &RouteTimeAxisView::controls_ebox_scroll), false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue