bar: corrected 💢 popup margins for vertical bar

This commit is contained in:
end-4
2025-08-17 21:34:22 +07:00
parent dc167bd25e
commit 9a9a35d75e
@@ -33,7 +33,7 @@ LazyLoader {
root.hoverTarget, root.hoverTarget,
(root.hoverTarget.width - popupBackground.implicitWidth) / 2, 0 (root.hoverTarget.width - popupBackground.implicitWidth) / 2, 0
).x; ).x;
return Appearance.sizes.barHeight return Appearance.sizes.verticalBarWidth
} }
top: { top: {
if (!Config.options.bar.vertical) return Appearance.sizes.barHeight; if (!Config.options.bar.vertical) return Appearance.sizes.barHeight;
@@ -42,7 +42,7 @@ LazyLoader {
(root.hoverTarget.height - popupBackground.implicitHeight) / 2, 0 (root.hoverTarget.height - popupBackground.implicitHeight) / 2, 0
).y; ).y;
} }
right: Appearance.sizes.barHeight right: Appearance.sizes.verticalBarWidth
bottom: Appearance.sizes.barHeight bottom: Appearance.sizes.barHeight
} }
WlrLayershell.namespace: "quickshell:popup" WlrLayershell.namespace: "quickshell:popup"