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

Apply suggestions

parent 43603ed2
......@@ -19,9 +19,7 @@
import QtQuick 2.6
import QtQuick.Layouts 1.4
import QtQuick.Controls 2.4 as QQC2
import QtGraphicalEffects 1.0
import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.kirigami 2.12 as Kirigami
......@@ -41,12 +39,12 @@ QQC2.Control {
color: Kirigami.ColorUtils.adjustColor(PlasmaCore.ColorScope.backgroundColor, {"alpha": 0.85*255})
anchors {
fill: parent
leftMargin: units.smallSpacing
rightMargin: units.smallSpacing
topMargin: units.smallSpacing
bottomMargin: units.smallSpacing
leftMargin: PlasmaCore.Units.smallSpacing
rightMargin: PlasmaCore.Units.smallSpacing
topMargin: PlasmaCore.Units.smallSpacing
bottomMargin: PlasmaCore.Units.smallSpacing
}
radius: units.smallSpacing
radius: PlasmaCore.Units.smallSpacing
}
}
}
......@@ -126,7 +126,7 @@ NanoShell.FullScreenOverlay {
right: parent.right
bottom: parent.bottom
}
height: parent.height - headerHeight
height: parent.height - headerHeight // don't layer on top panel indicators (area is darkened separately)
color: "black"
opacity: 0.6 * Math.min(1, offset/contentArea.height)
......
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