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

Fix fade out moving 1 frame right on mouse release

parent 0ca212ca
Pipeline #4115 passed with stage
in 27 minutes and 49 seconds
...@@ -756,7 +756,11 @@ Rectangle { ...@@ -756,7 +756,11 @@ Rectangle {
parent.anchors.horizontalCenter = fadeOutCanvas.left parent.anchors.horizontalCenter = fadeOutCanvas.left
else else
parent.anchors.right = fadeOutCanvas.right parent.anchors.right = fadeOutCanvas.right
timeline.adjustFade(clipRoot.clipId, 'fadeout', clipRoot.fadeOut, startFadeOut) var duration = clipRoot.fadeOut
if (duration > 0) {
duration += 1
}
timeline.adjustFade(clipRoot.clipId, 'fadeout', duration, startFadeOut)
bubbleHelp.hide() bubbleHelp.hide()
} }
onPositionChanged: { onPositionChanged: {
......
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