fix pointer cursor on all click targets - move cursorShape from TapHandler to HoverHandler
This commit is contained in:
parent
a43d0c8dcd
commit
a35f451fc0
16 changed files with 33 additions and 28 deletions
|
|
@ -312,8 +312,10 @@ M.HoverPanel {
|
|||
anchors.top: parent.top
|
||||
height: 28
|
||||
|
||||
TapHandler {
|
||||
HoverHandler {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
}
|
||||
TapHandler {
|
||||
onTapped: menuWindow._toggleCollapse(notifDelegate.modelData.appName)
|
||||
}
|
||||
}
|
||||
|
|
@ -388,10 +390,10 @@ M.HoverPanel {
|
|||
|
||||
HoverHandler {
|
||||
id: _groupDismissHover
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
}
|
||||
|
||||
TapHandler {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onTapped: {
|
||||
if (notifDelegate._type === "header")
|
||||
menuWindow._cascadeGroupDismiss(notifDelegate.modelData.appName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue