diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-22 01:12:41 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-22 01:12:41 +0000 |
commit | ca602cf2161fb4770022d175a7b85e60286e3b3b (patch) | |
tree | ddf13d844dcac1919fcf779b516627603dbc3736 /gtk2_ardour/editor_canvas.cc | |
parent | 9243298a7c0436cbdd216e3c5d4f3b90fe74cdf9 (diff) |
Refactor and clean up some confusion in dragging code.
git-svn-id: svn://localhost/ardour2/branches/3.0@6384 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_canvas.cc')
-rw-r--r-- | gtk2_ardour/editor_canvas.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc index f5eb29195f..0b19b2c86e 100644 --- a/gtk2_ardour/editor_canvas.cc +++ b/gtk2_ardour/editor_canvas.cc @@ -551,7 +551,7 @@ void Editor::maybe_autoscroll (GdkEventMotion* event, bool allow_vert) { nframes64_t rightmost_frame = leftmost_frame + current_page_frames(); - nframes64_t frame = _drag->current_pointer_frame(); + nframes64_t frame = _drag->adjusted_current_frame (0); bool startit = false; autoscroll_y = 0; |