fix problem with dragging an end range marker if the start of the range was near zero
git-svn-id: svn://localhost/ardour2/branches/3.0@13795 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
397729eb18
commit
6e0fc35806
@ -2760,15 +2760,6 @@ MarkerDrag::motion (GdkEvent* event, bool)
|
|||||||
framepos_t new_start = copy_location->start() + f_delta;
|
framepos_t new_start = copy_location->start() + f_delta;
|
||||||
framepos_t new_end = copy_location->end() + f_delta;
|
framepos_t new_end = copy_location->end() + f_delta;
|
||||||
|
|
||||||
/* if we are moving multiple markers, we can have
|
|
||||||
* forced earlier ones back before zero ... don't
|
|
||||||
* do this
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (new_start < 0 || new_end < 0) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (is_start) { // start-of-range marker
|
if (is_start) { // start-of-range marker
|
||||||
|
|
||||||
if (move_both || (*x).move_both) {
|
if (move_both || (*x).move_both) {
|
||||||
|
Loading…
Reference in New Issue
Block a user