Changed hard tabs into spaces for PlayerControl.qml
This commit is contained in:
@@ -189,10 +189,10 @@ Item {
|
||||
text: playerController.player?.trackArtist
|
||||
}
|
||||
Rectangle {
|
||||
id: scrubber
|
||||
id: scrubber
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: 8
|
||||
Layout.rightMargin: 8
|
||||
Layout.preferredHeight: 8
|
||||
Layout.rightMargin: 8
|
||||
color: blendedColors.colLayer1
|
||||
visible: playerController.player?.length > 0
|
||||
|
||||
@@ -206,13 +206,13 @@ Item {
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
id: scrubberInteract
|
||||
anchors.fill: parent
|
||||
id: scrubberInteract
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
if (playerController.player) {
|
||||
var pos = (mouseX / parent.width) * playerController.player.length
|
||||
playerController.player.position = pos
|
||||
}
|
||||
if (playerController.player) {
|
||||
var pos = (mouseX / parent.width) * playerController.player.length
|
||||
playerController.player.position = pos
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user