HandleKeyUp causes a... key up event. As it should.
This commit is contained in:
parent
5a2b4cc2f5
commit
a4e067cacb
@ -36,7 +36,7 @@ func (this *Hierarchy) HandleKeyDown (key input.Key, numberPad bool) {
|
|||||||
// be called *before* HandleKeyUp.
|
// be called *before* HandleKeyUp.
|
||||||
func (this *Hierarchy) HandleKeyUp (key input.Key, numberPad bool) {
|
func (this *Hierarchy) HandleKeyUp (key input.Key, numberPad bool) {
|
||||||
if target := this.keyboardTarget(); target != nil {
|
if target := this.keyboardTarget(); target != nil {
|
||||||
target.handleKeyDown(key, numberPad)
|
target.handleKeyUp(key, numberPad)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user