diff options
author | Carl Hetherington <carl@carlh.net> | 2010-07-04 21:53:34 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-07-04 21:53:34 +0000 |
commit | 2c09798dc82c653bc1de922a243bd37bd12e0313 (patch) | |
tree | 132d8aecf70f6e320df87da7d42c4058ae9a8eb0 /gtk2_ardour/editor_summary.cc | |
parent | bde4d3f3412e16543faff7bd489beb040311b781 (diff) |
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
Diffstat (limited to 'gtk2_ardour/editor_summary.cc')
-rw-r--r-- | gtk2_ardour/editor_summary.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |