summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-24 20:38:42 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-24 20:38:42 +0800
commit4661f546a5b6a33d00bf6f83912812f915e32da5 (patch)
treeb242d76cf836ec947e79e871d46aff2eceeaa9c2 /modules
parentdrawers: fix interactions (diff)
downloadcaelestia-shell-4661f546a5b6a33d00bf6f83912812f915e32da5.tar.gz
caelestia-shell-4661f546a5b6a33d00bf6f83912812f915e32da5.tar.bz2
caelestia-shell-4661f546a5b6a33d00bf6f83912812f915e32da5.zip
bar: fix storing only one
Diffstat (limited to 'modules')
-rw-r--r--modules/bar/Content.qml2
-rw-r--r--modules/drawers/Drawers.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar/Content.qml b/modules/bar/Content.qml
index adfd35b..4149521 100644
--- a/modules/bar/Content.qml
+++ b/modules/bar/Content.qml
@@ -19,7 +19,7 @@ StyledRect {
color: BorderConfig.colour
- Component.onCompleted: Visibilities.bar = this
+ Component.onCompleted: Visibilities.bars[screen] = this
Item {
id: child
diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml
index 589ff34..d3d4bfa 100644
--- a/modules/drawers/Drawers.qml
+++ b/modules/drawers/Drawers.qml
@@ -43,7 +43,7 @@ Variants {
anchors.left: true
anchors.right: true
- margins.left: Visibilities.bar?.implicitWidth ?? 0
+ margins.left: Visibilities.bars[screen]?.implicitWidth ?? 0
Variants {
id: regions