1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 22:12:50 -05:00

notifications: improve keyboard navigation with groups

This commit is contained in:
bbedward
2025-11-10 16:39:23 -05:00
parent 471938adb6
commit 7aa4467bda
3 changed files with 52 additions and 16 deletions

View File

@@ -34,7 +34,6 @@ Rectangle {
}
radius: Theme.cornerRadius
Behavior on border.color {
ColorAnimation {
duration: Theme.shortDuration
@@ -266,6 +265,7 @@ Rectangle {
Column {
id: expandedContent
objectName: "expandedContent"
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
@@ -321,6 +321,8 @@ Rectangle {
spacing: 16
Repeater {
id: notificationRepeater
objectName: "notificationRepeater"
model: ScriptModel {
values: notificationGroup?.notifications?.slice(0, 10) || []
}
@@ -348,7 +350,6 @@ Rectangle {
border.color: isSelected ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.4) : Qt.rgba(Theme.outline.r, Theme.outline.g, Theme.outline.b, 0.05)
border.width: isSelected ? 1 : 1
Behavior on border.color {
ColorAnimation {
duration: Theme.shortDuration