mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
hefty: bar: ws: improve hover indicator readability
This commit is contained in:
@@ -30,16 +30,10 @@ Item {
|
||||
anchors.right: !root.vertical ? centerSide.left : parent.right
|
||||
anchors.bottom: root.vertical ? parent.bottom : undefined
|
||||
HBarUserFallbackComponentRepeater {
|
||||
componentNames: {
|
||||
print(JSON.stringify([
|
||||
componentNames: [
|
||||
...root.centerLeftWidgets,
|
||||
...(root.centerLeftWidgets.length > 0 ? [invisibleItem] : []),
|
||||
], null, 2));
|
||||
return [
|
||||
...root.centerLeftWidgets,
|
||||
...(root.centerLeftWidgets.length > 0 ? [invisibleItem] : []),
|
||||
];
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -136,6 +136,7 @@ Item {
|
||||
/////////////////// Hover ///////////////////
|
||||
ButtonMouseArea {
|
||||
id: interactionMouseArea
|
||||
z: 3
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
hoverEnabled: true
|
||||
@@ -162,7 +163,8 @@ Item {
|
||||
radius: root.activeWorkspaceSize / 2
|
||||
hover: interactionMouseArea.containsMouse
|
||||
press: interactionMouseArea.containsPress
|
||||
contentColor: Appearance.colors.colPrimary
|
||||
drag: true // There are too many layers so we need to force this to be a lil more opaque
|
||||
contentColor: Appearance.colors.colTertiary
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user