mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-25 04:42:14 +00:00
notif groups: dont show invisible items
This commit is contained in:
parent
dbe2a922e3
commit
20e517a7ca
1 changed files with 2 additions and 2 deletions
|
|
@ -213,8 +213,8 @@ Item { // Notification group area
|
|||
animation: Appearance.animation.elementMoveFast.numberAnimation.createObject(this)
|
||||
}
|
||||
model: ScriptModel {
|
||||
// values: root.expanded ? root.notifications : root.notifications.slice(0, 2)
|
||||
values: root.notifications.slice().reverse()
|
||||
values: root.expanded ? root.notifications.slice().reverse() :
|
||||
root.notifications.slice().reverse().slice(0, 2)
|
||||
}
|
||||
delegate: NotificationItem {
|
||||
required property int index
|
||||
|
|
|
|||
Loading…
Reference in a new issue