And arrow keys! Because, why not!
This commit is contained in:
parent
4deb581667
commit
fd6297b4fb
@ -33,13 +33,16 @@ func (this *Hierarchy) HandleKeyDown (key input.Key, numberPad bool) {
|
||||
return true
|
||||
})
|
||||
if caught { return }
|
||||
|
||||
if key == input.KeyTab {
|
||||
|
||||
switch key {
|
||||
case input.KeyTab:
|
||||
if this.modifiers.Shift {
|
||||
this.focusPrevious()
|
||||
} else {
|
||||
this.focusNext()
|
||||
}
|
||||
case input.KeyUp: this.focusPrevious()
|
||||
case input.KeyDown: this.focusNext()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user