allow normal right trimming even if the start of a range is at zero

Conflicts:
	gtk2_ardour/editor_drag.cc
This commit is contained in:
Paul Davis
2015-02-09 10:59:09 -05:00
parent bc2271b43e
commit 78d76c197e

View File

@@ -3431,8 +3431,10 @@ MarkerDrag::motion (GdkEvent* event, bool)
copy_location = x->location;
/* call this to find out if its the start or end */
if ((type != TrimRight) && (delta < 0)) {
delta = max (-((framecnt_t) earliest_start), delta);
}
if ((real_location = _editor->find_location_from_marker (x->markers.front(), is_start)) == 0) {
continue;
}