Commit f305f37d authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix right clip of a mix cannot be moved backwards

parent 64722e24
Pipeline #64881 passed with stage
in 8 minutes and 29 seconds
......@@ -2355,7 +2355,7 @@ bool TimelineModel::requestGroupMove(int itemId, int groupId, int delta_track, i
if (getTrackById_const(current_track_id)->hasStartMix(item.first)) {
subPlaylist = m_allClips[item.first]->getSubPlaylistIndex();
}
if (!getTrackById_const(current_track_id)->isAvailable(target_position, playtime, subPlaylist)) {
if (!getTrackById_const(current_track_id)->isAvailable(target_position, current_in - target_position, subPlaylist)) {
if (!getTrackById_const(current_track_id)->isBlankAt(current_in - 1)) {
// No move possible, abort
bool undone = local_undo();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment