diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-13 17:52:51 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-13 17:52:51 +0000 |
commit | 804da5653127aaedda057d3c683be5817f335fef (patch) | |
tree | 4a71351e88710d6fbcfbec73ecaaab824a57c8fb /gtk2_ardour/editor_drag.cc | |
parent | b2d5840efb0e1034aab00019869299891af6291b (diff) |
Various fixes and improvements to editor summary widget.
git-svn-id: svn://localhost/ardour2/branches/3.0@5179 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.cc')
-rw-r--r-- | gtk2_ardour/editor_drag.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 54bc8e276d..b1243b8fa4 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -2994,7 +2994,7 @@ SelectionDrag::motion (GdkEvent* event, bool first_move) break; } - if (event->button.x >= _editor->horizontal_adjustment.get_value() + _editor->canvas_width) { + if (event->button.x >= _editor->horizontal_adjustment.get_value() + _editor->_canvas_width) { _editor->start_canvas_autoscroll (1, 0); } @@ -3149,7 +3149,7 @@ RangeMarkerBarDrag::motion (GdkEvent* event, bool first_move) break; } - if (event->button.x >= _editor->horizontal_adjustment.get_value() + _editor->canvas_width) { + if (event->button.x >= _editor->horizontal_adjustment.get_value() + _editor->_canvas_width) { _editor->start_canvas_autoscroll (1, 0); } |