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

Fix spacer tool not workin on single clips (without groups)

parent 3ea8bbc6
......@@ -366,6 +366,12 @@ int TimelineFunctions::requestSpacerStartOperation(const std::shared_ptr<Timelin
spacerUngroupedItems.insert(l, r);
}
}
} else {
int pos = timeline->getItemPosition(r);
if (firstPosition == -1 || pos < firstPosition) {
firstCid = r;
firstPosition = pos;
}
}
}
for (int r : groupsToRemove) {
......
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