summaryrefslogtreecommitdiff
path: root/modules/drawers/Drawers.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/drawers/Drawers.qml')
-rw-r--r--modules/drawers/Drawers.qml24
1 files changed, 19 insertions, 5 deletions
diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml
index 5aa5b50..51374e9 100644
--- a/modules/drawers/Drawers.qml
+++ b/modules/drawers/Drawers.qml
@@ -35,11 +35,11 @@ Variants {
intersection: Intersection.Xor
regions: panels.children.map(c => regionComp.createObject(this, {
- x: c.x,
- y: c.y,
- width: c.width,
- height: c.height
- }))
+ x: c.x,
+ y: c.y,
+ width: c.width,
+ height: c.height
+ }))
}
anchors.top: true
@@ -55,6 +55,20 @@ Variants {
}
}
+ StyledRect {
+ anchors.fill: parent
+ opacity: visibilities.session ? 0.5 : 0
+ color: Colours.palette.m3scrim
+
+ Behavior on opacity {
+ NumberAnimation {
+ duration: Appearance.anim.durations.normal
+ easing.type: Easing.BezierSpline
+ easing.bezierCurve: Appearance.anim.curves.standard
+ }
+ }
+ }
+
Item {
id: background