Skip to content
GitLab
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
831b4d31
Commit
831b4d31
authored
Jan 29, 2020
by
Jean-Baptiste Mardelle
Browse files
Update ClipAudioThumbs.qml for qml2 scrollview
parent
782b2a3c
Pipeline
#14128
passed with stage
in 21 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/ClipAudioThumbs.qml
View file @
831b4d31
...
...
@@ -43,7 +43,7 @@ Row {
channels
:
clipRoot
.
audioChannels
binId
:
clipRoot
.
binId
isFirstChunk
:
index
==
0
showItem
:
waveform
.
visible
&&
(
index
*
waveform
.
maxWidth
<
(
clipRoot
.
scrollStart
+
scrollView
.
viewport
.
width
))
&&
((
index
*
waveform
.
maxWidth
+
width
)
>
clipRoot
.
scrollStart
)
showItem
:
waveform
.
visible
&&
(
index
*
waveform
.
maxWidth
<
(
clipRoot
.
scrollStart
+
scrollView
.
contentItem
.
width
))
&&
((
index
*
waveform
.
maxWidth
+
width
)
>
clipRoot
.
scrollStart
)
format
:
timeline
.
audioThumbFormat
waveInPoint
:
clipRoot
.
speed
<
0
?
(
Math
.
round
(
clipRoot
.
outPoint
-
(
index
*
waveform
.
maxWidth
/
clipRoot
.
timeScale
)
*
Math
.
abs
(
clipRoot
.
speed
))
*
channels
)
:
(
Math
.
round
((
clipRoot
.
inPoint
+
(
index
*
waveform
.
maxWidth
/
clipRoot
.
timeScale
))
*
clipRoot
.
speed
)
*
channels
)
waveOutPoint
:
clipRoot
.
speed
<
0
?
(
waveInPoint
-
Math
.
ceil
(
width
/
clipRoot
.
timeScale
*
Math
.
abs
(
clipRoot
.
speed
))
*
channels
)
:
(
waveInPoint
+
Math
.
round
(
width
/
clipRoot
.
timeScale
*
clipRoot
.
speed
)
*
channels
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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