mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
fix notif dismiss on right sidebar open
This commit is contained in:
@@ -203,6 +203,7 @@ Scope {
|
||||
|
||||
function toggle(): void {
|
||||
sidebarLoader.active = !sidebarLoader.active;
|
||||
if(sidebarLoader.active) Notifications.timeoutAll();
|
||||
}
|
||||
|
||||
function close(): void {
|
||||
@@ -211,6 +212,7 @@ Scope {
|
||||
|
||||
function open(): void {
|
||||
sidebarLoader.active = true;
|
||||
Notifications.timeoutAll();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -220,6 +222,7 @@ Scope {
|
||||
|
||||
onPressed: {
|
||||
sidebarLoader.active = !sidebarLoader.active;
|
||||
if(sidebarLoader.active) Notifications.timeoutAll();
|
||||
}
|
||||
}
|
||||
GlobalShortcut {
|
||||
@@ -228,6 +231,7 @@ Scope {
|
||||
|
||||
onPressed: {
|
||||
sidebarLoader.active = true;
|
||||
Notifications.timeoutAll();
|
||||
}
|
||||
}
|
||||
GlobalShortcut {
|
||||
|
||||
Reference in New Issue
Block a user