Project enter opens task

This commit is contained in:
Ian Gulliver
2026-10-20 18:45:39 -07:00
parent 15482473f7
commit 9869fad988
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -39,6 +39,13 @@ struct ProjectView: View {
step(press.key == .downArrow ? 1 : -1)
return .handled
}
.onKeyPress(.return) {
guard let id = store.selectedTaskId, store.focusedProject() != nil else {
return .ignored
}
store.focusTask(id)
return .handled
}
.onAppear {
if !(overlays.window?.firstResponder is NSTextView) {
keys = true