13
0

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
This commit is contained in:
Carl Hetherington 2010-07-04 21:53:34 +00:00
parent bde4d3f341
commit 2c09798dc8

View File

@ -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;
}