move point at which to-be-rerippled regionviews are collected in a RegionMotionDrag

This commit is contained in:
Paul Davis 2021-06-04 11:06:07 -06:00
parent 27a906444a
commit 3e6de18919
1 changed files with 4 additions and 4 deletions

View File

@ -1271,10 +1271,6 @@ RegionMotionDrag::motion (GdkEvent* event, bool first_move)
#endif
}
if (first_move && _editor->should_ripple()) {
collect_ripple_views ();
}
for (list<DraggingView>::iterator i = _views.begin(); i != _views.end(); ++i) {
RegionView* rv = i->view;
@ -1514,6 +1510,10 @@ RegionMotionDrag::motion (GdkEvent* event, bool first_move)
void
RegionMoveDrag::motion (GdkEvent* event, bool first_move)
{
if (first_move && _editor->should_ripple() && !_copy && !_brushing) {
collect_ripple_views ();
}
if (_copy && first_move) {
if (_x_constrained) {
_editor->begin_reversible_command (Operations::fixed_time_region_copy);