summaryrefslogtreecommitdiff
path: root/modules/bar/components/Clock.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-01 18:30:53 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-01 18:30:53 +1000
commitf98036a30326582ac7c87835a1d3dd386b8d34f9 (patch)
tree9bbf315c6533cd7f27fcda0a3c728f1ffc86b133 /modules/bar/components/Clock.qml
parentdev: some cleanup (diff)
downloadcaelestia-shell-f98036a30326582ac7c87835a1d3dd386b8d34f9.tar.gz
caelestia-shell-f98036a30326582ac7c87835a1d3dd386b8d34f9.tar.bz2
caelestia-shell-f98036a30326582ac7c87835a1d3dd386b8d34f9.zip
feat: vertical bar actually works!!!
Diffstat (limited to 'modules/bar/components/Clock.qml')
-rw-r--r--modules/bar/components/Clock.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/bar/components/Clock.qml b/modules/bar/components/Clock.qml
index 6758ea6..f3e3701 100644
--- a/modules/bar/components/Clock.qml
+++ b/modules/bar/components/Clock.qml
@@ -13,6 +13,8 @@ StyledRect {
text: "calendar_month"
color: root.colour
+
+ anchors.horizontalCenter: root.vertical ? parent.horizontalCenter : undefined
}
AnchorText {