🔧 chore(window/floating-notifications): bring back hold on hover feature 🎉

This commit is contained in:
retrozinndev
2025-08-29 14:02:12 -03:00
parent aef372d499
commit 56d8736768
2 changed files with 5 additions and 6 deletions
+1 -5
View File
@@ -21,13 +21,9 @@ export const FloatingNotifications = (mon: number) =>
<Adw.Clamp maximumSize={size}>
<Gtk.Box class={"float-notification"} widthRequest={size} vexpand={false}>
{/*
Why is holdOnHover disabled: the shell for some reason crashes
when removing the notification on hover-lost 💔
*/}
<NotificationWidget notification={notif} showTime={false}
actionClose={() => Notifications.getDefault().removeNotification(notif)}
holdOnHover={false} actionClicked={() => {
holdOnHover actionClicked={() => {
const viewAction = notif.actions.filter(a =>
a.id.toLowerCase() === "view" ||
a.label.toLowerCase() === "view"