fix notif popup masks
This commit is contained in:
@@ -92,8 +92,6 @@ Item {
|
|||||||
|
|
||||||
Loader {
|
Loader {
|
||||||
id: popoutLoader
|
id: popoutLoader
|
||||||
z: 0
|
|
||||||
anchors.left: parent.left
|
|
||||||
sourceComponent: null
|
sourceComponent: null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ PanelWindow {
|
|||||||
left: true
|
left: true
|
||||||
bottom: true
|
bottom: true
|
||||||
}
|
}
|
||||||
|
|
||||||
mask: Region { regions: root.notifRegions }
|
mask: Region { regions: root.notifRegions }
|
||||||
exclusionMode: ExclusionMode.Ignore
|
exclusionMode: ExclusionMode.Ignore
|
||||||
WlrLayershell.layer: WlrLayer.Overlay
|
WlrLayershell.layer: WlrLayer.Overlay
|
||||||
@@ -35,6 +36,10 @@ PanelWindow {
|
|||||||
id: notifListView
|
id: notifListView
|
||||||
model: ScriptModel {
|
model: ScriptModel {
|
||||||
values: NotifServer.list.filter( n => n.popup )
|
values: NotifServer.list.filter( n => n.popup )
|
||||||
|
onValuesChanged: {
|
||||||
|
if ( values.length === 0 )
|
||||||
|
root.notifRegions = [];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
|||||||
Reference in New Issue
Block a user