mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Add media controls to lockscreen
Code is mostly copypaste from the desktop lnf.
This commit is contained in:
parent
29dda81ac6
commit
7f4f10a994
1 changed files with 12 additions and 0 deletions
|
|
@ -68,6 +68,18 @@ PlasmaCore.ColorScope {
|
|||
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 {
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: parent.left
|
||||
|
|
|
|||
Loading…
Reference in a new issue