dock: add opacity slider as requested in #222
This commit is contained in:
parent
a3aba8d0db
commit
60950fb461
3 changed files with 43 additions and 1 deletions
|
|
@ -32,6 +32,8 @@ Variants {
|
|||
|
||||
screen: modelData
|
||||
|
||||
WlrLayershell.namespace: "noctalia-dock"
|
||||
|
||||
property bool autoHide: Settings.data.dock.autoHide
|
||||
property bool hidden: autoHide
|
||||
property int hideDelay: 500
|
||||
|
|
@ -130,7 +132,7 @@ Variants {
|
|||
id: dockContainer
|
||||
width: dock.width + 48 * scaling
|
||||
height: iconSize * 1.4 * scaling
|
||||
color: Color.mSurface
|
||||
color: Qt.alpha(Color.mSurface, Settings.data.dock.backgroundOpacity)
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: dockSpacing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue