HandleKeyUp causes a... key up event. As it should.

This commit is contained in:
Sasha Koshka 2024-06-03 02:20:37 -04:00
parent 5a2b4cc2f5
commit a4e067cacb

View File

@ -36,7 +36,7 @@ func (this *Hierarchy) HandleKeyDown (key input.Key, numberPad bool) {
// be called *before* HandleKeyUp.
func (this *Hierarchy) HandleKeyUp (key input.Key, numberPad bool) {
if target := this.keyboardTarget(); target != nil {
target.handleKeyDown(key, numberPad)
target.handleKeyUp(key, numberPad)
}
}