Commit 64a4bc18 authored by luyikei's avatar luyikei

Timeline: Simplify moveClipTo

parent 61cb6624
......@@ -179,12 +179,10 @@ Rectangle {
function moveClipTo( trackType, uuid, trackId, position )
{
var clip = findClipFromTrackContainer( trackType, uuid );
var clip = findClipItem( uuid );
if ( !clip )
return;
var oldId = clip["trackId"];
clip["trackId"] = trackId;
findClipItem( uuid ).position = position;
clip.position = position;
workflow.moveClip( trackId, uuid, position );
}
......
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