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