Fix monitor playing when clicking in audio thumbnail of AV clip

This commit is contained in:
Jean-Baptiste Mardelle
2025-12-04 06:26:45 +01:00
parent 920e50d8ab
commit b659bf4f40

View File

@@ -244,6 +244,7 @@ Item {
return return
} }
root.seeking = true root.seeking = true
root.captureRightClick = true
var pos = Math.max(mouseX, 0) var pos = Math.max(mouseX, 0)
root.mouseRulerPos = mouseX root.mouseRulerPos = mouseX
pos += audioThumb.width / root.zoomFactor * root.zoomStart pos += audioThumb.width / root.zoomFactor * root.zoomStart
@@ -263,6 +264,7 @@ Item {
} }
onReleased: { onReleased: {
root.seeking = false root.seeking = false
root.captureRightClick = false
} }
onWheel: wheel => { onWheel: wheel => {