From c8bbdbc47235080519ed1a3f0dc7097c65f3286a Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 17 May 2025 23:04:00 +0200 Subject: [PATCH] tab buttons: fix pointing hand cursor --- .../quickshell/modules/common/widgets/PrimaryTabButton.qml | 4 +--- .../quickshell/modules/common/widgets/SecondaryTabButton.qml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.config/quickshell/modules/common/widgets/PrimaryTabButton.qml b/.config/quickshell/modules/common/widgets/PrimaryTabButton.qml index 9839f0a57..c05f3e8fa 100644 --- a/.config/quickshell/modules/common/widgets/PrimaryTabButton.qml +++ b/.config/quickshell/modules/common/widgets/PrimaryTabButton.qml @@ -16,8 +16,6 @@ TabButton { property int rippleDuration: 1200 height: buttonBackground.height - PointingHandInteraction {} - component RippleAnim: NumberAnimation { duration: rippleDuration easing.type: Appearance.animation.elementMoveEnter.type @@ -26,7 +24,7 @@ TabButton { MouseArea { anchors.fill: parent - propagateComposedEvents: true + cursorShape: Qt.PointingHandCursor onPressed: (event) => { const {x,y} = event const stateY = buttonBackground.y; diff --git a/.config/quickshell/modules/common/widgets/SecondaryTabButton.qml b/.config/quickshell/modules/common/widgets/SecondaryTabButton.qml index c591b867f..eb6209121 100644 --- a/.config/quickshell/modules/common/widgets/SecondaryTabButton.qml +++ b/.config/quickshell/modules/common/widgets/SecondaryTabButton.qml @@ -26,7 +26,7 @@ TabButton { MouseArea { anchors.fill: parent - propagateComposedEvents: true + cursorShape: Qt.PointingHandCursor onPressed: (event) => { const {x,y} = event const stateY = buttonBackground.y;