diff --git a/src/timeline2/view/qml/ClipAudioThumbs.qml b/src/timeline2/view/qml/ClipAudioThumbs.qml index 8201115d03daba498e640361d43a4e0e18554e71..94b7c220e7108f116aa85c0d850ae760ee0d2431 100644 --- a/src/timeline2/view/qml/ClipAudioThumbs.qml +++ b/src/timeline2/view/qml/ClipAudioThumbs.qml @@ -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)