summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-03-20 21:59:37 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-03-21 07:02:32 -0400
commit65b4308c84a794f6d69da6d229790757d9e4e0e2 (patch)
treed51638d8aa002024197d1420563411afb0e483ea /gtk2_ardour/time_axis_view.cc
parentab44e41dfd8b8247ed5f57a8f3fcbbf4f8457827 (diff)
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.
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r--gtk2_ardour/time_axis_view.cc4
1 files changed, 2 insertions, 2 deletions
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;