summaryrefslogtreecommitdiff
path: root/modules/drawers/Backgrounds.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/drawers/Backgrounds.qml')
-rw-r--r--modules/drawers/Backgrounds.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/drawers/Backgrounds.qml b/modules/drawers/Backgrounds.qml
index df8d2eb..2b08b7b 100644
--- a/modules/drawers/Backgrounds.qml
+++ b/modules/drawers/Backgrounds.qml
@@ -6,15 +6,18 @@ import "root:/modules/session" as Session
import "root:/modules/launcher" as Launcher
import "root:/modules/dashboard" as Dashboard
import "root:/modules/bar/popouts" as BarPopouts
+import QtQuick
import QtQuick.Shapes
Shape {
id: root
required property Panels panels
+ required property Item bar
anchors.fill: parent
anchors.margins: BorderConfig.thickness
+ anchors.leftMargin: bar.implicitWidth
preferredRendererType: Shape.CurveRenderer
opacity: Colours.transparency.enabled ? Colours.transparency.base : 1