notif action button hover cursor -> pointing hand

This commit is contained in:
end-4 2024-03-26 16:35:22 +07:00
parent 3c3cc01bea
commit 68f809019a

View file

@ -183,17 +183,19 @@ export default ({
hexpand: true,
className: `notif-action notif-action-${notifObject.urgency}`,
onClicked: () => destroyWithAnims(),
setup: setupCursorHover,
child: Label({
label: 'Close',
})
}),
}),
...notifObject.actions.map(action => Widget.Button({
hexpand: true,
className: `notif-action notif-action-${notifObject.urgency}`,
onClicked: () => notifObject.invoke(action.id),
setup: setupCursorHover,
child: Label({
label: action.label,
})
}),
}))
],
})