.. and make autoscrolling a bit faster.

git-svn-id: svn://localhost/ardour2/trunk@846 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sampo Savolainen
2006-08-23 18:34:57 +00:00
parent ba09117dfa
commit 29d58af438
2 changed files with 2 additions and 2 deletions

View File

@@ -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 */

View File

@@ -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) {