forked from Shinonome/dots-hyprland
hefty: bar: fix wrong placement of center-right group
This commit is contained in:
@@ -46,7 +46,7 @@ Item {
|
|||||||
Side {
|
Side {
|
||||||
id: centerRightSide
|
id: centerRightSide
|
||||||
anchors.left: !root.vertical ? centerSide.right : parent.left
|
anchors.left: !root.vertical ? centerSide.right : parent.left
|
||||||
anchors.top: root.vertical ? parent.top : centerSide.bottom
|
anchors.top: !root.vertical ? parent.top : centerSide.bottom
|
||||||
HBarUserFallbackComponentRepeater {
|
HBarUserFallbackComponentRepeater {
|
||||||
componentNames: [...(root.centerLeftWidgets.length > 0 ? [invisibleItem] : []), ...root.centerRightWidgets,]
|
componentNames: [...(root.centerLeftWidgets.length > 0 ? [invisibleItem] : []), ...root.centerRightWidgets,]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user