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

Move remap marker before clip name, fix qml warning

parent 71ba58f4
......@@ -779,6 +779,7 @@ Rectangle {
// Clipping container for clip names
anchors.fill: parent
anchors.leftMargin: mixContainer.width
id: nameContainer
clip: true
Rectangle {
// Clip name background
......@@ -788,7 +789,7 @@ Rectangle {
height: label.height
visible: clipRoot.width > width / 2
anchors.left: parent.left
anchors.leftMargin: clipRoot.timeremap ? labelRect.width : 0
anchors.leftMargin: clipRoot.timeremap ? labelRect.height : 0
Text {
// Clip name text
id: label
......@@ -879,7 +880,7 @@ Rectangle {
width: labelRect.height
height: labelRect.height
anchors.top: labelRect.top
anchors.left: nameContainer.left
anchors.left: labelRect.right
visible: !clipRoot.isAudio && clipRoot.clipStatus === ClipStatus.StatusProxy || clipRoot.clipStatus === ClipStatus.StatusProxyOnly
Text {
// Proxy P
......@@ -898,13 +899,13 @@ Rectangle {
}
}
Rectangle{
//proxy
//remap
id:remapRect
color: '#cc0033'
width: labelRect.height
height: labelRect.height
anchors.top: labelRect.top
anchors.left: proxyRect.visible ? proxyRect.right : labelRect.right
anchors.left: nameContainer.left
visible: clipRoot.timeremap
Text {
// Remap R
......
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