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

Fix left part of a cut cannot be selected right after processing

BUG: 428544
parent cee0ad80
......@@ -145,7 +145,7 @@ Rectangle {
}
onClipDurationChanged: {
width = clipDuration * timeScale;
width = clipDuration * timeScale
if (parentTrack && parentTrack.isAudio && thumbsLoader.item) {
// Duration changed, we may need a different number of repeaters
thumbsLoader.item.reload(1)
......@@ -593,6 +593,8 @@ Rectangle {
onEntered: {
if (!pressed) {
trimIn.opacity = 1
var itemPos = mapToItem(tracksContainerArea, 0, 0, width, height)
initDrag(clipRoot, itemPos, clipRoot.clipId, clipRoot.modelStart, clipRoot.trackId, false)
}
}
onExited: {
......@@ -683,6 +685,8 @@ Rectangle {
onEntered: {
if (!pressed) {
trimOut.opacity = 1
var itemPos = mapToItem(tracksContainerArea, 0, 0, width, height)
initDrag(clipRoot, itemPos, clipRoot.clipId, clipRoot.modelStart, clipRoot.trackId, false)
}
}
onExited: trimOut.opacity = 0
......
......@@ -1235,7 +1235,7 @@ Rectangle {
clickAccepted = true
dragProxy.draggedItem = tentativeClip.clipId
dragProxy.x = tentativeClip.x
dragProxy.y = tentativeClip.y
//dragProxy.y = tentativeClip.y
dragProxy.width = tentativeClip.width
dragProxy.height = tentativeClip.height
dragProxy.masterObject = tentativeClip
......
Markdown is supported
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