Commit f1ca6d01 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 ce05e2e4
Pipeline #132355 skipped
......@@ -1518,7 +1518,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