Commit 7f4f10a9 authored by Nicolas Fella's avatar Nicolas Fella

Add media controls to lockscreen

Code is mostly copypaste from the desktop lnf.
parent 29dda81a
...@@ -68,6 +68,18 @@ PlasmaCore.ColorScope { ...@@ -68,6 +68,18 @@ PlasmaCore.ColorScope {
opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight) opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight)
} }
MediaControls {
anchors {
left: parent.left
leftMargin: units.gridUnit
right: parent.right
rightMargin: units.gridUnit
verticalCenter: parent.verticalCenter
}
opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight)
z: 5
}
PlasmaCore.IconItem { PlasmaCore.IconItem {
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.left: parent.left anchors.left: parent.left
......
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