mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-22 08:49:58 -05:00
notifications: hover prevents timeout
This commit is contained in:
@@ -204,6 +204,12 @@ Singleton {
|
||||
root.discardAll();
|
||||
}
|
||||
|
||||
function cancelTimeout(id) {
|
||||
const index = root.list.findIndex((notif) => notif.notificationId === id);
|
||||
if (root.list[index] != null)
|
||||
root.list[index].timer.stop();
|
||||
}
|
||||
|
||||
function timeoutNotification(id) {
|
||||
const index = root.list.findIndex((notif) => notif.notificationId === id);
|
||||
if (root.list[index] != null)
|
||||
|
||||
Reference in New Issue
Block a user