From 2c09798dc82c653bc1de922a243bd37bd12e0313 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 4 Jul 2010 21:53:34 +0000 Subject: [PATCH] Modified version of lincoln's patch to allow X-axis scrolling in the summary when the drag starts above or below (but to the left or right of) the view box. Fixes #3299. git-svn-id: svn://localhost/ardour2/branches/3.0@7364 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_summary.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc index 77f5af527c..b5abe68c3d 100644 --- a/gtk2_ardour/editor_summary.cc +++ b/gtk2_ardour/editor_summary.cc @@ -448,7 +448,7 @@ EditorSummary::on_motion_notify_event (GdkEventMotion* ev) _moved = true; /* don't alter x if we clicked outside and above or below the viewbox */ - if (_start_position == INSIDE || _start_position == TO_LEFT_OR_RIGHT) { + if (_start_position == INSIDE || _start_position == TO_LEFT_OR_RIGHT || _start_position == OTHERWISE_OUTSIDE) { xr.first += ev->x - _start_mouse_x; xr.second += ev->x - _start_mouse_x; }