a more robust value check for 8cb09ab2cf
modification
This commit is contained in:
parent
8cb09ab2cf
commit
b75118ee13
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user