mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
prevent ripple drag from passing earlier region starts
This commit is contained in:
parent
068cace22c
commit
a1ef870866
1 changed files with 5 additions and 0 deletions
|
|
@ -884,6 +884,11 @@ RegionMotionDrag::compute_x_delta (GdkEvent const * event, MusicSample* pending_
|
|||
*pending_region_position = _last_position;
|
||||
}
|
||||
|
||||
if (pending_region_position->sample <= _earliest_time_limit) {
|
||||
pending_region_position->sample = _earliest_time_limit;
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double dx = 0;
|
||||
|
||||
bool const x_move_allowed = !_x_constrained;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue