summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSampo Savolainen <v2@iki.fi>2006-08-23 18:34:57 +0000
committerSampo Savolainen <v2@iki.fi>2006-08-23 18:34:57 +0000
commit29d58af43871bb121500c5665aacec63d13a1428 (patch)
treef864796352ccd85ab84196acc3c85788a8a3eadb
parentba09117dfa6c46a52c3536e43c8022f9cf6107a6 (diff)
.. and make autoscrolling a bit faster.
git-svn-id: svn://localhost/ardour2/trunk@846 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/editor_canvas.cc2
-rw-r--r--gtk2_ardour/editor_rulers.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc
index e8ba2b8a60..39066dda72 100644
--- a/gtk2_ardour/editor_canvas.cc
+++ b/gtk2_ardour/editor_canvas.cc
@@ -628,7 +628,7 @@ Editor::start_canvas_autoscroll (int dir)
stop_canvas_autoscroll ();
autoscroll_direction = dir;
- autoscroll_distance = (jack_nframes_t) floor (current_page_frames()/100.0);
+ autoscroll_distance = (jack_nframes_t) floor (current_page_frames()/50.0);
autoscroll_cnt = 0;
/* do it right now, which will start the repeated callbacks */
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc
index 86bd19b9bf..bb02779563 100644
--- a/gtk2_ardour/editor_rulers.cc
+++ b/gtk2_ardour/editor_rulers.cc
@@ -239,7 +239,7 @@ Editor::ruler_mouse_motion (GdkEventMotion* ev)
if (autoscroll_timeout_tag < 0) {
if (where > rightmost_frame) {
if (rightmost_frame < max_frames) {
- start_canvas_autoscroll (10);
+ start_canvas_autoscroll (1);
}
} else if (where <= leftmost_frame) {
if (leftmost_frame > 0) {