FIx collision detection on track change

parent 09d9fbc8
......@@ -880,6 +880,16 @@ Rectangle {
clip.reparent(track)
clip.trackIndex = track.DelegateModel.itemsIndex
clip.trackId = track.trackId
} else {
if (track.trackId != clip.trackId) {
// check if we can move on existing track
if (!controller.requestClipMove(clip.clipId, clip.trackId, frame, false, false)) {
// Abort move
clip.x = clip.draggedX
} else {
clip.x = frame * timeScale
}
}
}
}
}
......
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