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
b480ffbe
Commit
b480ffbe
authored
Jun 14, 2019
by
Jean-Baptiste Mardelle
Browse files
Ensure no empty space between thumbs on all thumbs view in timeline
parent
b37162df
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/ClipThumbs.qml
View file @
b480ffbe
...
...
@@ -24,7 +24,7 @@ Row {
// container.width / thumbRow.thumbWidth will display all frames showThumbnails
// 1: only show first thumbnail
// 0: will disable thumbnails
model
:
parentTrack
.
trackThumbsFormat
==
0
?
2
:
parentTrack
.
trackThumbsFormat
==
1
?
container
.
width
/
thumbRow
.
thumbWidth
:
parentTrack
.
trackThumbsFormat
==
2
?
1
:
0
model
:
parentTrack
.
trackThumbsFormat
==
0
?
2
:
parentTrack
.
trackThumbsFormat
==
1
?
Math
.
ceil
(
container
.
width
/
thumbRow
.
thumbWidth
)
:
parentTrack
.
trackThumbsFormat
==
2
?
1
:
0
property
int
startFrame
:
clipRoot
.
inPoint
property
int
endFrame
:
clipRoot
.
outPoint
property
real
imageWidth
:
Math
.
max
(
thumbRow
.
thumbWidth
,
container
.
width
/
thumbRepeater
.
count
)
...
...
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