mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Fix top panel being greyed out by SlidingPanel
This commit is contained in:
parent
8eecc27cbc
commit
e74833e9ab
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue