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

Fix clip name not scrolling anymore

parent 754f4f21
Pipeline #134960 passed with stage
in 5 minutes and 26 seconds
......@@ -64,7 +64,7 @@ Rectangle {
property bool canBeAudio
property bool canBeVideo
property double speed: 1.0
property color borderColor: 'black'
property color borderColor: "#000000"
property bool forceReloadThumb
property bool forceReloadAudioThumb
property bool isComposition: false
......@@ -197,7 +197,7 @@ Rectangle {
function updateLabelOffset()
{
labelRect.x = scrollX > modelStart * timeScale ? scrollX - modelStart * timeScale : 0
labelRect.anchors.leftMargin = scrollX > modelStart * timeScale ? scrollX - modelStart * timeScale + (clipRoot.timeremap ? labelRect.height : 0) : clipRoot.timeremap ? labelRect.height : 0
}
border.color: (clipStatus === ClipStatus.StatusMissing || ClipStatus === ClipStatus.StatusWaiting || clipStatus === ClipStatus.StatusDeleting) ? "#ff0000" : selected ? root.selectionColor : grouped ? root.groupColor : borderColor
......
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