Changed hard tabs into spaces for PlayerControl.qml

This commit is contained in:
2026-07-23 23:55:37 -04:00
parent fa01d709c5
commit 5382a81770
+9 -9
View File
@@ -189,10 +189,10 @@ Item {
text: playerController.player?.trackArtist text: playerController.player?.trackArtist
} }
Rectangle { Rectangle {
id: scrubber id: scrubber
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: 8 Layout.preferredHeight: 8
Layout.rightMargin: 8 Layout.rightMargin: 8
color: blendedColors.colLayer1 color: blendedColors.colLayer1
visible: playerController.player?.length > 0 visible: playerController.player?.length > 0
@@ -206,13 +206,13 @@ Item {
} }
MouseArea { MouseArea {
id: scrubberInteract id: scrubberInteract
anchors.fill: parent anchors.fill: parent
onClicked: { onClicked: {
if (playerController.player) { if (playerController.player) {
var pos = (mouseX / parent.width) * playerController.player.length var pos = (mouseX / parent.width) * playerController.player.length
playerController.player.position = pos playerController.player.position = pos
} }
} }
} }
} }