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 { ...@@ -278,16 +278,17 @@ Item {
anchors.right: parent.right anchors.right: parent.right
anchors.left: parent.left anchors.left: parent.left
height: streamThumb.streamHeight height: streamThumb.streamHeight
property int aChannels: controller.audioChannels[model.index]
y: model.index * height y: model.index * height
channels: controller.audioChannels[model.index] channels: aChannels
binId: controller.clipId binId: controller.clipId
audioStream: controller.audioStreams[model.index] audioStream: controller.audioStreams[model.index]
isFirstChunk: false isFirstChunk: false
format: controller.audioThumbFormat format: controller.audioThumbFormat
normalize: controller.audioThumbNormalize normalize: controller.audioThumbNormalize
scaleFactor: audioThumb.width / (root.duration - 1) / root.zoomFactor scaleFactor: audioThumb.width / (root.duration - 1) / root.zoomFactor
waveInPoint: (root.duration - 1) * root.zoomStart * channels waveInPoint: (root.duration - 1) * root.zoomStart * aChannels
waveOutPointWithUpdate: (root.duration - 1) * (root.zoomStart + root.zoomFactor) * channels waveOutPointWithUpdate: (root.duration - 1) * (root.zoomStart + root.zoomFactor) * aChannels
fillColor1: root.thumbColor1 fillColor1: root.thumbColor1
fillColor2: root.thumbColor2 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