mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Really don't have nav characters > 9
This commit is contained in:
parent
74b9fd841b
commit
0824ccf15c
@ -32,13 +32,13 @@ func (tracker *FocusTracker) AssignHotKeys() {
|
||||
i := 1
|
||||
|
||||
for _, focusable := range tracker.focusables() {
|
||||
focusable.SetFocusChar(string('0' + i))
|
||||
i++
|
||||
|
||||
if i >= 10 {
|
||||
// Don't have nav characters > "9"
|
||||
if i >= 10 {
|
||||
break
|
||||
}
|
||||
|
||||
focusable.SetFocusChar(string('0' + i))
|
||||
i++
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user