mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
use the window color to dim
This commit is contained in:
parent
77ae2a21f0
commit
5717c71a82
1 changed files with 1 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ NanoShell.FullScreenPanel {
|
|||
property bool userInteracting: false
|
||||
property bool expanded: false
|
||||
|
||||
color: "transparent"
|
||||
color: Qt.rgba(0, 0, 0, 0.6 * Math.min(1, offset/contentArea.height))
|
||||
property alias contents: contentArea.data
|
||||
property int headerHeight
|
||||
|
||||
|
|
@ -111,11 +111,6 @@ NanoShell.FullScreenPanel {
|
|||
to: contentArea.height
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: Qt.rgba(0, 0, 0, 0.6 * Math.min(1, offset/contentArea.height))
|
||||
}
|
||||
|
||||
PlasmaCore.ColorScope {
|
||||
anchors.fill: parent
|
||||
y: Math.min(0, -height + window.offset)
|
||||
|
|
|
|||
Loading…
Reference in a new issue