13
0

a more robust value check for 8cb09ab2cf modification

This commit is contained in:
Paul Davis 2021-05-05 18:48:53 -06:00
parent 8cb09ab2cf
commit b75118ee13

View File

@ -1467,7 +1467,7 @@ RegionMoveDrag::finished (GdkEvent* ev, bool movement_occurred)
bool const changed_position = (_last_position.sample != _primary->region()->position());
bool changed_tracks;
if (_views.front().time_axis_view == _time_axis_views.size()) {
if (_views.front().time_axis_view >= _time_axis_views.size()) {
/* in the drop zone */
changed_tracks = true;
} else {