1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Update initial focus on IPC Notifications & Notepad

This commit is contained in:
purian23
2025-09-05 23:40:09 -04:00
parent 5f97fd4f7c
commit c9d7641d86
3 changed files with 31 additions and 3 deletions

View File

@@ -20,6 +20,17 @@ DankModal {
if (modalKeyboardController && notificationListRef) {
modalKeyboardController.listView = notificationListRef
modalKeyboardController.rebuildFlatNavigation()
Qt.callLater(() => {
modalKeyboardController.keyboardNavigationActive = true
modalKeyboardController.selectedFlatIndex = 0
modalKeyboardController.updateSelectedIdFromIndex()
if (notificationListRef) {
notificationListRef.keyboardActive = true
}
modalKeyboardController.selectionVersion++
modalKeyboardController.ensureVisible()
})
}
}