[AI] Added audio progress bar

This commit is contained in:
2026-06-10 20:26:12 -04:00
parent 0738e33d58
commit 734c08e596

View File

@@ -188,6 +188,22 @@ Item {
elide: Text.ElideRight elide: Text.ElideRight
text: playerController.player?.trackArtist text: playerController.player?.trackArtist
} }
Rectangle {
Layout.fillWidth: true
Layout.preferredHeight: 2
color: blendedColors.colLayer1
visible: playerController.player?.length > 0
Rectangle {
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.left: parent.left
color: blendedColors.colPrimary
width: (playerController.player?.position / playerController.player?.length) * parent.width
radius: parent.height / 2
}
}
RowLayout { RowLayout {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: 32 Layout.preferredHeight: 32