summaryrefslogtreecommitdiff
path: root/modules/drawers/Panels.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/drawers/Panels.qml')
-rw-r--r--modules/drawers/Panels.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/drawers/Panels.qml b/modules/drawers/Panels.qml
index 6c6d892..a422fcc 100644
--- a/modules/drawers/Panels.qml
+++ b/modules/drawers/Panels.qml
@@ -24,7 +24,7 @@ Item {
readonly property BarPopouts.Wrapper popouts: popouts
anchors.fill: parent
- anchors.margins: BorderConfig.thickness
+ anchors.margins: Config.border.thickness
anchors.leftMargin: bar.implicitWidth
Component.onCompleted: Visibilities.panels[screen] = this
@@ -83,7 +83,7 @@ Item {
anchors.left: parent.left
anchors.verticalCenter: parent.top
anchors.verticalCenterOffset: {
- const off = root.popouts.currentCenter - BorderConfig.thickness;
+ const off = root.popouts.currentCenter - Config.border.thickness;
const diff = root.height - Math.floor(off + implicitHeight / 2);
if (diff < 0)
return off + diff;