add variables to determine scope of potential ripple at end of drag

This commit is contained in:
Paul Davis 2021-06-04 11:09:30 -06:00
parent 7bd03b68ee
commit 283e2103ba

View file

@ -1745,6 +1745,10 @@ RegionMoveDrag::finished_copy (bool const changed_position, bool const changed_t
typedef map<boost::shared_ptr<Playlist>, RouteTimeAxisView*> PlaylistMapping; typedef map<boost::shared_ptr<Playlist>, RouteTimeAxisView*> PlaylistMapping;
PlaylistMapping playlist_mapping; PlaylistMapping playlist_mapping;
/* determine boundaries of dragged regions, across all playlists */
samplepos_t extent_min = max_samplepos;
samplepos_t extent_max = 0;
/* insert the regions into their (potentially) new (or existing) playlists */ /* insert the regions into their (potentially) new (or existing) playlists */
for (list<DraggingView>::const_iterator i = _views.begin(); i != _views.end(); ++i) { for (list<DraggingView>::const_iterator i = _views.begin(); i != _views.end(); ++i) {