Commit 42004039 authored by stef lep's avatar stef lep Committed by Matthieu Gallien
Browse files

T7597: add progress in playlist

parent ba667f73
......@@ -82,10 +82,25 @@ FocusScope {
height: playListEntry.height
}
Loader {
active: isPlaying === MediaPlayList.IsPlaying || isPlaying === MediaPlayList.IsPaused
visible: active
z: 2
anchors.fill: parent
sourceComponent: Rectangle {
property int pos: elisa.audioPlayer.position
anchors.left: parent.left
color: myPalette.mid
height: playListEntry.height
width: playListEntry.width * (pos/elisa.audioPlayer.duration)
}
}
RowLayout {
id: trackRow
z: 2
z: 3
anchors.fill: parent
anchors.leftMargin: Kirigami.Units.largeSpacing
......
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