forked from Shinonome/dots-hyprland
fix notif dismiss on right sidebar open
This commit is contained in:
@@ -203,6 +203,7 @@ Scope {
|
|||||||
|
|
||||||
function toggle(): void {
|
function toggle(): void {
|
||||||
sidebarLoader.active = !sidebarLoader.active;
|
sidebarLoader.active = !sidebarLoader.active;
|
||||||
|
if(sidebarLoader.active) Notifications.timeoutAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
function close(): void {
|
function close(): void {
|
||||||
@@ -211,6 +212,7 @@ Scope {
|
|||||||
|
|
||||||
function open(): void {
|
function open(): void {
|
||||||
sidebarLoader.active = true;
|
sidebarLoader.active = true;
|
||||||
|
Notifications.timeoutAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -220,6 +222,7 @@ Scope {
|
|||||||
|
|
||||||
onPressed: {
|
onPressed: {
|
||||||
sidebarLoader.active = !sidebarLoader.active;
|
sidebarLoader.active = !sidebarLoader.active;
|
||||||
|
if(sidebarLoader.active) Notifications.timeoutAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GlobalShortcut {
|
GlobalShortcut {
|
||||||
@@ -228,6 +231,7 @@ Scope {
|
|||||||
|
|
||||||
onPressed: {
|
onPressed: {
|
||||||
sidebarLoader.active = true;
|
sidebarLoader.active = true;
|
||||||
|
Notifications.timeoutAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GlobalShortcut {
|
GlobalShortcut {
|
||||||
|
|||||||
Reference in New Issue
Block a user