mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Fix notification hovering not working on content/close button
This commit is contained in:
@@ -577,6 +577,10 @@ Variants {
|
||||
anchors.margins: Style.marginM
|
||||
spacing: Style.marginM
|
||||
|
||||
HoverHandler {
|
||||
onHoveredChanged: hovered ? card.hoverCount++ : card.hoverCount--
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
spacing: Style.marginL
|
||||
@@ -722,6 +726,10 @@ Variants {
|
||||
anchors.right: cardBackground.right
|
||||
anchors.rightMargin: Style.marginXL
|
||||
|
||||
HoverHandler {
|
||||
onHoveredChanged: hovered ? card.hoverCount++ : card.hoverCount--
|
||||
}
|
||||
|
||||
onClicked: {
|
||||
card.runAction("", true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user