forked from Shinonome/dots-hyprland
notif groups: dont show invisible items
This commit is contained in:
@@ -213,8 +213,8 @@ Item { // Notification group area
|
|||||||
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
||||||
}
|
}
|
||||||
model: ScriptModel {
|
model: ScriptModel {
|
||||||
// values: root.expanded ? root.notifications : root.notifications.slice(0, 2)
|
values: root.expanded ? root.notifications.slice().reverse() :
|
||||||
values: root.notifications.slice().reverse()
|
root.notifications.slice().reverse().slice(0, 2)
|
||||||
}
|
}
|
||||||
delegate: NotificationItem {
|
delegate: NotificationItem {
|
||||||
required property int index
|
required property int index
|
||||||
|
|||||||
Reference in New Issue
Block a user