From cc08bc320ebbdee0d67f0077b5f6569bb87c9ebc Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Wed, 12 Nov 2025 13:14:38 -0500 Subject: [PATCH] Bar: Fix potential blurry icons due to half pixel misalignment. --- Modules/Bar/Bar.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/Bar/Bar.qml b/Modules/Bar/Bar.qml index 29d356a2..b01b83c8 100644 --- a/Modules/Bar/Bar.qml +++ b/Modules/Bar/Bar.qml @@ -57,13 +57,13 @@ Item { sourceComponent: Item { anchors.fill: parent - // Bar container (background rendered by AllBackgrounds) + // Bar container - Content Item { id: bar // Position and size the bar content based on orientation - x: (root.barPosition === "right") ? (parent.width - Style.barHeight) : 0.5 - y: (root.barPosition === "bottom") ? (parent.height - Style.barHeight) : 0.5 + x: (root.barPosition === "right") ? (parent.width - Style.barHeight) : 0 + y: (root.barPosition === "bottom") ? (parent.height - Style.barHeight) : 0 width: root.barIsVertical ? Style.barHeight : parent.width height: root.barIsVertical ? parent.height : Style.barHeight