Commit 3281c37c authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix qml binding loop warning

parent 4c1ac074
Pipeline #137184 passed with stage
in 6 minutes and 51 seconds
......@@ -278,16 +278,17 @@ Item {
anchors.right: parent.right
anchors.left: parent.left
height: streamThumb.streamHeight
property int aChannels: controller.audioChannels[model.index]
y: model.index * height
channels: controller.audioChannels[model.index]
channels: aChannels
binId: controller.clipId
audioStream: controller.audioStreams[model.index]
isFirstChunk: false
format: controller.audioThumbFormat
normalize: controller.audioThumbNormalize
scaleFactor: audioThumb.width / (root.duration - 1) / root.zoomFactor
waveInPoint: (root.duration - 1) * root.zoomStart * channels
waveOutPointWithUpdate: (root.duration - 1) * (root.zoomStart + root.zoomFactor) * channels
waveInPoint: (root.duration - 1) * root.zoomStart * aChannels
waveOutPointWithUpdate: (root.duration - 1) * (root.zoomStart + root.zoomFactor) * aChannels
fillColor1: root.thumbColor1
fillColor2: root.thumbColor2
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment