From 06d8efc22869100c83ff49d485b1e16334be4ef2 Mon Sep 17 00:00:00 2001 From: Nick Mainsbridge Date: Sun, 3 Feb 2008 12:26:33 +0000 Subject: [PATCH] Fix thinko in last commit for new regions. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2998 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_mouse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index b293a28696..a357a2d1ed 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -3304,7 +3304,7 @@ Editor::region_drag_motion_callback (ArdourCanvas::Item* item, GdkEvent* event) /* we don't handle a sync point that lies before zero. */ - if (sync_dir > 0 || (sync_dir < 0 && pending_region_position >= sync_offset)) { + if (sync_dir >= 0 || (sync_dir < 0 && pending_region_position >= sync_offset)) { sync_frame = pending_region_position + (sync_dir*sync_offset); /* we snap if the snap modifier is not enabled.