.. and make autoscrolling a bit faster.
git-svn-id: svn://localhost/ardour2/trunk@846 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user