fix pointer cursor on all click targets - move cursorShape from TapHandler to HoverHandler

This commit is contained in:
Damocles 2026-04-17 23:54:24 +02:00
parent a43d0c8dcd
commit a35f451fc0
16 changed files with 33 additions and 28 deletions

View file

@ -30,8 +30,10 @@ Column {
font.pixelSize: S.Theme.fontSize + 2
font.family: S.Theme.iconFontFamily
TapHandler {
HoverHandler {
cursorShape: Qt.PointingHandCursor
}
TapHandler {
onTapped: if (root.sink?.audio)
root.sink.audio.muted = !root.sink.audio.muted
}
@ -211,8 +213,10 @@ Column {
font.pixelSize: S.Theme.fontSize
font.family: S.Theme.iconFontFamily
TapHandler {
HoverHandler {
cursorShape: Qt.PointingHandCursor
}
TapHandler {
onTapped: if (streamEntry.modelData.audio)
streamEntry.modelData.audio.muted = !streamEntry.modelData.audio.muted
}