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

Fix same track indicator on composition drop not showing correctly

parent bb81a5e8
......@@ -536,7 +536,7 @@ Rectangle {
if (sameCutPos > -1) {
var sourceTrack = Logic.getTrackById(currentTrack)
if (drag.y < sourceTrack.y + sourceTrack.height / 2 || isAudioDrag) {
sameTrackIndicator.x = sameCutPos * timeline.scaleFactor - scrollView.contentX - sameTrackIndicator.width / 2
sameTrackIndicator.x = sameCutPos * timeline.scaleFactor - sameTrackIndicator.width / 2
sameTrackIndicator.y = sourceTrack.y
sameTrackIndicator.height = sourceTrack.height
sameTrackIndicator.visible = true
......
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