13
0

Fix oddities when dragging regions below the bottom visible track.

git-svn-id: svn://localhost/ardour2/branches/3.0@5129 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-06-08 22:10:27 +00:00
parent fb83e8ef14
commit ba0e0d390e

View File

@ -789,8 +789,7 @@ RegionMoveDrag::finished (GdkEvent* event, bool movement_occurred)
}
changed_position = (_last_frame_position != (nframes64_t) (_primary->region()->position()));
tvp = _editor->trackview_by_y_position (_current_pointer_y);
changed_tracks = (tvp.first != &_primary->get_time_axis_view());
changed_tracks = (_dest_trackview != &_primary->get_time_axis_view());
drag_delta = _primary->region()->position() - _last_frame_position;