Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Kdenlive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
258
Issues
258
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Multimedia
Kdenlive
Commits
831b4d31
Commit
831b4d31
authored
Jan 29, 2020
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/timeline2/view/qml/ClipAudioThumbs.qml
src/timeline2/view/qml/ClipAudioThumbs.qml
+1
-1
No files found.
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
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