From 20d3ad12f98a4095f15fe510c42761e2acb249cc Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 18:21:30 +0200 Subject: [PATCH] fix volume expand: use MouseArea on icon/label instead of TapHandler on Row --- modules/Volume.qml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/modules/Volume.qml b/modules/Volume.qml index 3b8ad48..8ffab65 100644 --- a/modules/Volume.qml +++ b/modules/Volume.qml @@ -66,17 +66,22 @@ M.BarSection { icon: root._volumeIcon color: root._volumeColor anchors.verticalCenter: parent.verticalCenter + MouseArea { + anchors.fill: parent + cursorShape: Qt.PointingHandCursor + onClicked: root._expanded = !root._expanded + } } M.BarLabel { label: Math.round(root.volume * 100) + "%" minText: "100%" color: root._volumeColor anchors.verticalCenter: parent.verticalCenter - } - - TapHandler { - cursorShape: Qt.PointingHandCursor - onTapped: root._expanded = !root._expanded + MouseArea { + anchors.fill: parent + cursorShape: Qt.PointingHandCursor + onClicked: root._expanded = !root._expanded + } } WheelHandler {