quickshell: minor

This commit is contained in:
2025-10-13 04:02:04 +02:00
parent c4eeff7e50
commit ba194b8fa4
5 changed files with 14 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ Item {
readonly property alias hovered: mouseArea.containsMouse
property real iconSize: Fonts.icon
property real radius: Style.radiusS
property bool disabledHover: false
signal clicked()
signal rightClicked()
@@ -23,7 +24,7 @@ Item {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
hoverEnabled: true
hoverEnabled: !disabledHover
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: (mouse) => {
if (mouse.button === Qt.RightButton)