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

colorize track head when armed for sound recording

parent 936db127
......@@ -55,7 +55,7 @@ Rectangle {
when: trackHeadRoot.current
PropertyChanges {
target: trackHeadRoot
color: selectedTrackColor
color: showAudioRecord ? Qt.tint(selectedTrackColor, Qt.rgba(1, 0, 0, 0.5)) : selectedTrackColor
}
},
State {
......@@ -63,7 +63,7 @@ Rectangle {
name: 'normal'
PropertyChanges {
target: trackHeadRoot
color: getTrackColor(isAudio, true)
color: showAudioRecord ? Qt.tint(getTrackColor(isAudio, true), Qt.rgba(1, 0, 0, 0.16)) : getTrackColor(isAudio, 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