Commit 83355791 authored by luyikei's avatar luyikei

Add missing adjustTracks

parent 64a4bc18
......@@ -499,6 +499,7 @@ Rectangle {
var type = clipInfo["audio"] ? "Audio" : "Video";
clipInfo["selected"] = false;
addClip( type, clipInfo["trackId"], clipInfo );
adjustTracks( type );
}
onClipMoved: {
......@@ -513,10 +514,13 @@ Rectangle {
else if ( oldClip["position"] !== clipInfo["position"] ) {
findClipItem( uuid ).position = clipInfo["position"];
}
adjustTracks( type );
}
onClipRemoved: {
removeClip( uuid );
adjustTracks( "Audio" );
adjustTracks( "Video" );
}
onClipResized: {
......
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