Picker keyboard focus

This commit is contained in:
Ian Gulliver
2026-10-21 10:13:31 -07:00
parent 9afe016b06
commit 1ab0ebad9f
2 changed files with 17 additions and 2 deletions
+5 -1
View File
@@ -192,7 +192,11 @@ final class Overlays {
}
if image == nil, !marked, let switcher {
if code == 48 {
switcher.move(flags.contains(.shift) ? -1 : 1)
switcher.inList.toggle()
return true
}
if switcher.inList && (code == 125 || code == 126) {
switcher.move(code == 125 ? 1 : -1)
return true
}
if enter && !flags.contains(.shift) {