Commit e74833e9 authored by Devin Lin's avatar Devin Lin 🎨
Browse files

Fix top panel being greyed out by SlidingPanel

parent 8eecc27c
......@@ -123,6 +123,7 @@ NanoShell.FullScreenOverlay {
Rectangle {
anchors {
fill: parent
topMargin: root.height // top panel background handled separately in main.qml
}
color: "black"
opacity: 0.6 * Math.min(1, offset/contentArea.height)
......
......@@ -163,6 +163,7 @@ Item {
source: icons
}
// screen top panel
PlasmaCore.ColorScope {
id: icons
z: 1
......@@ -248,6 +249,14 @@ Item {
Indicators.Battery {}
}
}
// screen top panel background (background for the rest of the screen in SlidingPanel.qml)
Rectangle {
anchors.fill: parent
color: "black"
opacity: 0.6 * Math.min(1, slidingPanel.offset/panelContents.height)
}
MouseArea {
z: 99
property int oldMouseY: 0
......
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