From 65b4308c84a794f6d69da6d229790757d9e4e0e2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 20 Mar 2014 21:59:37 -0400 Subject: first pass at quantizing vertical scroll to whole tracks. Dragging regions vertically does the quantization BUT speed control is lacking and the region ends up on a track that is still invisible ... to be fixed as the sun rises. --- gtk2_ardour/time_axis_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/time_axis_view.cc') diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index d373d3f31b..cbd2b995fe 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -298,7 +298,7 @@ TimeAxisView::controls_ebox_scroll (GdkEventScroll* ev) e.stepping_axis_view()->step_height (false); return true; } else if (Keyboard::no_modifiers_active (ev->state)) { - _editor.scroll_tracks_up_line(); + _editor.scroll_up_one_track(); return true; } break; @@ -313,7 +313,7 @@ TimeAxisView::controls_ebox_scroll (GdkEventScroll* ev) e.stepping_axis_view()->step_height (true); return true; } else if (Keyboard::no_modifiers_active (ev->state)) { - _editor.scroll_tracks_down_line(); + _editor.scroll_down_one_track(); return true; } break; -- cgit v1.2.3