Fix gap on clip move when trying to move clips

parent b5b08387
......@@ -791,7 +791,7 @@ int TimelineModel::suggestClipMove(int clipId, int trackId, int position, int cu
}
}
} else {
trackPosition.insert(clipTrack, after ? in + getItemPlaytime(current_clipId) : in);
trackPosition.insert(clipTrack, after ? in + getItemPlaytime(current_clipId) - 1 : in);
}
}
// Now check space on each track
......
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