💥 ags(notifications): do not run onClose on hoverLost if holdOnHover is false
This commit is contained in:
@@ -59,7 +59,7 @@ export function NotificationWidget(notification: AstalNotifd.Notification|number
|
|||||||
onClose?.(notification);
|
onClose?.(notification);
|
||||||
},
|
},
|
||||||
onHover: () => holdOnHover && Notifications.getDefault().holdNotification(notification.id),
|
onHover: () => holdOnHover && Notifications.getDefault().holdNotification(notification.id),
|
||||||
onHoverLost: () => onClose?.(notification),
|
onHoverLost: () => holdOnHover && onClose?.(notification),
|
||||||
hexpand: true,
|
hexpand: true,
|
||||||
vexpand: false,
|
vexpand: false,
|
||||||
child: new Widget.Box({
|
child: new Widget.Box({
|
||||||
|
|||||||
Reference in New Issue
Block a user