Commit 8a5d3771 authored by luyikei's avatar luyikei

Track.qml: Update deltaX after newX is changed

parent 7517b4e1
...@@ -265,6 +265,7 @@ Item { ...@@ -265,6 +265,7 @@ Item {
target = findClipItem( toMove[0] ); target = findClipItem( toMove[0] );
var oldX = target.pixelPosition(); var oldX = target.pixelPosition();
var newX = findNewPosition( Math.max( oldX + deltaX, 0 ), target, drag.source, isMagneticMode ); var newX = findNewPosition( Math.max( oldX + deltaX, 0 ), target, drag.source, isMagneticMode );
deltaX = newX - oldX;
// Let's find newX of the linked clip // Let's find newX of the linked clip
for ( i = 0; i < target.linkedClips.length; ++i ) for ( i = 0; i < target.linkedClips.length; ++i )
......
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