Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLMC
Commits
cc9bea20
Commit
cc9bea20
authored
Jul 26, 2017
by
luyikei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clip.qml: Resize actually linked clips
parent
698d423b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/Gui/timeline/Clip.qml
src/Gui/timeline/Clip.qml
+9
-0
No files found.
src/Gui/timeline/Clip.qml
View file @
cc9bea20
...
...
@@ -56,6 +56,14 @@ Rectangle {
function
resize
()
{
// This function updates Backend
workflow
.
resizeClip
(
uuid
,
begin
,
end
,
position
);
for
(
var
i
=
0
;
i
<
linkedClips
.
length
;
++
i
)
{
var
linkedClip
=
linkedClips
[
i
];
var
lc
=
findClipItem
(
linkedClip
);
if
(
lc
===
null
)
return
;
workflow
.
resizeClip
(
lc
.
uuid
,
lc
.
begin
,
lc
.
end
,
lc
.
position
);
}
}
function
selectLinkedClip
()
{
...
...
@@ -93,6 +101,7 @@ Rectangle {
effectsItem
.
text
=
str
;
}
// This function only resizes clips in the frontend, not updating the backend
function
resizeLinkedClips
(
oldPos
,
oldBegin
,
oldEnd
)
{
for
(
var
i
=
0
;
i
<
linkedClips
.
length
;
++
i
)
{
...
...
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