mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-26 08:27:43 +01:00
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:
parent
affdf459a5
commit
06d8efc228
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue