forked from Shinonome/dots-hyprland
bar: corrected 💢 popup margins for vertical bar
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user