Commit 5717c71a authored by Marco Martin's avatar Marco Martin
Browse files

use the window color to dim

parent 77ae2a21
......@@ -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)
......
Supports Markdown
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