fix notif popup masks

This commit is contained in:
Zacharias-Brohn
2025-11-18 10:11:22 +01:00
parent bc24ef07d7
commit 77800d1779
2 changed files with 5 additions and 2 deletions
+5
View File
@@ -19,6 +19,7 @@ PanelWindow {
left: true
bottom: true
}
mask: Region { regions: root.notifRegions }
exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Overlay
@@ -35,6 +36,10 @@ PanelWindow {
id: notifListView
model: ScriptModel {
values: NotifServer.list.filter( n => n.popup )
onValuesChanged: {
if ( values.length === 0 )
root.notifRegions = [];
}
}
anchors.top: parent.top
anchors.bottom: parent.bottom