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

Fix sometimes cannot move grouped clip right when only 1 empty frame

parent d38e7a11
Pipeline #130849 passed with stage
in 5 minutes and 42 seconds
......@@ -1520,7 +1520,7 @@ QVariantList TimelineModel::suggestClipMove(int clipId, int trackId, int positio
}
} else {
// Check space after the position
track_space = getTrackById(i.key())->getBlankEnd(i.value() + 1) - i.value() - 1;
track_space = getTrackById(i.key())->getBlankEnd(i.value() + 1) - i.value();
if (blank_length == 0 || blank_length > track_space) {
blank_length = track_space;
}
......
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