grid/snap minimum selection length
[ardour.git] / gtk2_ardour / editor_canvas.cc
index 9e43fcc35c5b056cf1593201d9bbaeac8a2d1c36..3e7aad2a1bbffd9db281398e2f38268f8086103b 100644 (file)
@@ -501,6 +501,10 @@ Editor::autoscroll_fudge_threshold () const
 void
 Editor::maybe_autoscroll (bool allow_horiz, bool allow_vert, bool moving_left, bool moving_up)
 {
+       if (!Config->get_autoscroll_editor ()) {
+               return;
+       }
+       
        bool startit = false;
 
        /* Work out the distance between the right hand edge of the trackview and the edge of