hefty: bar: ws: improve hover indicator readability

This commit is contained in:
end-4
2026-02-06 23:52:31 +01:00
parent 74c012c930
commit e1913d0e95
2 changed files with 5 additions and 9 deletions
@@ -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
}
}
}