Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
luyikei
VLMC
Commits
1181bafa
Commit
1181bafa
authored
Jul 26, 2017
by
luyikei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clip.qml: Better handling of lastPosition
parent
cc9bea20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/Gui/timeline/Track.qml
src/Gui/timeline/Track.qml
+1
-1
src/Gui/timeline/main.qml
src/Gui/timeline/main.qml
+1
-1
No files found.
src/Gui/timeline/Track.qml
View file @
1181bafa
...
...
@@ -348,7 +348,7 @@ Item {
uuid
:
model
.
uuid
libraryUuid
:
model
.
libraryUuid
position
:
model
.
position
lastPosition
:
model
.
lastP
osition
lastPosition
:
model
.
p
osition
begin
:
model
.
begin
end
:
model
.
end
clipInfo
:
model
...
...
src/Gui/timeline/main.qml
View file @
1181bafa
...
...
@@ -93,7 +93,6 @@ Rectangle {
newDict
[
"
begin
"
]
=
clipDict
[
"
begin
"
];
newDict
[
"
end
"
]
=
clipDict
[
"
end
"
];
newDict
[
"
position
"
]
=
clipDict
[
"
position
"
];
newDict
[
"
lastPosition
"
]
=
clipDict
[
"
position
"
];
newDict
[
"
length
"
]
=
clipDict
[
"
length
"
];
newDict
[
"
libraryUuid
"
]
=
clipDict
[
"
libraryUuid
"
];
newDict
[
"
uuid
"
]
=
clipDict
[
"
uuid
"
];
...
...
@@ -656,6 +655,7 @@ Rectangle {
var
clipInfo
=
workflow
.
clipInfo
(
uuid
);
var
clip
=
findClipItem
(
uuid
);
clip
.
position
=
clipInfo
[
"
position
"
];
clip
.
lastPosition
=
clipInfo
[
"
position
"
];
clip
.
end
=
clipInfo
[
"
end
"
];
clip
.
begin
=
clipInfo
[
"
begin
"
];
clip
.
updateEffects
(
clipInfo
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment