[vlmc-devel] Clip.qml: Don't bind lastPosition to position
Yikai Lu
git at videolan.org
Mon Aug 7 19:18:38 CEST 2017
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Tue Aug 8 01:36:32 2017 +0900| [2092f0e31e2585a8f73ccd7fb12bda2a5821766b] | committer: Yikai Lu
Clip.qml: Don't bind lastPosition to position
> https://code.videolan.org/videolan/vlmc/commit/2092f0e31e2585a8f73ccd7fb12bda2a5821766b
---
src/Gui/timeline/Clip.qml | 1 +
src/Gui/timeline/Track.qml | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Gui/timeline/Clip.qml b/src/Gui/timeline/Clip.qml
index b6b79ead..89cb32cc 100644
--- a/src/Gui/timeline/Clip.qml
+++ b/src/Gui/timeline/Clip.qml
@@ -208,6 +208,7 @@ Rectangle {
else
selected = true;
newTrackId = trackId;
+ lastPosition = position;
allClips.push( clip );
allClipsDict[uuid] = clip;
diff --git a/src/Gui/timeline/Track.qml b/src/Gui/timeline/Track.qml
index 46e58c50..e8226624 100644
--- a/src/Gui/timeline/Track.qml
+++ b/src/Gui/timeline/Track.qml
@@ -269,7 +269,6 @@ Item {
uuid: model.uuid
libraryUuid: model.libraryUuid
position: model.position
- lastPosition: model.position
begin: model.begin
end: model.end
length: model.length
More information about the Vlmc-devel
mailing list