Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
f1ca6d01
Commit
f1ca6d01
authored
Jan 30, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix sometimes cannot move grouped clip right when only 1 empty frame
parent
ce05e2e4
Pipeline
#132355
skipped
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinemodel.cpp
View file @
f1ca6d01
...
...
@@ -1518,7 +1518,7 @@ QVariantList TimelineModel::suggestClipMove(int clipId, int trackId, int positio
}
}
else
{
// Check space after the position
track_space
=
getTrackById
(
i
.
key
())
->
getBlankEnd
(
i
.
value
()
+
1
)
-
i
.
value
()
-
1
;
track_space
=
getTrackById
(
i
.
key
())
->
getBlankEnd
(
i
.
value
()
+
1
)
-
i
.
value
();
if
(
blank_length
==
0
||
blank_length
>
track_space
)
{
blank_length
=
track_space
;
}
...
...
Write
Preview
Supports
Markdown
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