Commit 4fc8e2f0 by luyikei

Clip.qml: Correctly update length

parent b52010e8
......@@ -158,6 +158,7 @@ Rectangle {
position = clipInfo["position"];
begin = clipInfo["begin"];
end = clipInfo["end"];
length = clipInfo["length"];
}
onPositionChanged: {
......@@ -172,6 +173,10 @@ Rectangle {
clipInfo["end"] = end;
}
onLengthChanged: {
clipInfo["length"] = length;
}
onSelectedChanged: {
if ( selected === true ) {
selectedClips.push( uuid );
......
......@@ -739,6 +739,7 @@ Rectangle {
clip.lastPosition = clipInfo["position"];
clip.end = clipInfo["end"];
clip.begin = clipInfo["begin"];
clip.length = clipInfo["length"];
clip.updateEffects( clipInfo );
}
......
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