From 752d8d4b6f2f28fdd3fc810cfd956e4bec5b9ef8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 8 Dec 2008 17:20:02 +0000 Subject: [PATCH] revert the only real change in that last commit,which was based on a bogus merge git-svn-id: svn://localhost/ardour2/branches/3.0@4302 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_mouse.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index 81ca998a00..652ab49343 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -4001,11 +4001,8 @@ Editor::region_drag_finished_callback (ArdourCanvas::Item* item, GdkEvent* event continue; } - changed_position = (drag_info.last_frame_position != (nframes_t) (rv->region()->position())); - changed_tracks = (dest_tv != &rv->get_time_axis_view()); - if (changed_position && !drag_info.x_constrained) { - where = (nframes_t) unit_to_frame (ix1); +- where = rv->region()->position() - drag_delta; } else { where = rv->region()->position(); }