Changed hard tabs into spaces for PlayerControl.qml
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user