Fix thinko in last commit for new regions.

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2998 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Nick Mainsbridge 2008-02-03 12:26:33 +00:00
parent affdf459a5
commit 06d8efc228

View file

@ -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.