Commit 73716f89 authored by Sashmita Raghav's avatar Sashmita Raghav
Browse files

Correct cursor height in timeline

parent 622efeeb
Pipeline #32458 passed with stage
in 18 minutes and 36 seconds
...@@ -1281,15 +1281,15 @@ Rectangle { ...@@ -1281,15 +1281,15 @@ Rectangle {
} }
Repeater { id: guidesRepeater; model: guidesDelegateModel } Repeater { id: guidesRepeater; model: guidesDelegateModel }
} }
Rectangle { }
id: cursor Rectangle {
visible: root.consumerPosition > -1 id: cursor
color: root.textColor visible: root.consumerPosition > -1
width: Math.max(1, 1 * timeline.scaleFactor) color: root.textColor
opacity: (width > 2) ? 0.5 : 1 width: Math.max(1, 1 * timeline.scaleFactor)
height: parent.height opacity: (width > 2) ? 0.5 : 1
x: root.consumerPosition * timeline.scaleFactor height: tracksContainerArea.height + subtitleTrack.height
} x: root.consumerPosition * timeline.scaleFactor
} }
} }
} }
......
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