Fixed a slight documentation error in area.go.
This commit is contained in:
parent
a41f582866
commit
cd49e05da8
2
area.go
2
area.go
|
@ -55,7 +55,7 @@ type AreaHandler interface {
|
||||||
Mouse(e MouseEvent)
|
Mouse(e MouseEvent)
|
||||||
|
|
||||||
// Key is called when the Area receives a keyboard event.
|
// Key is called when the Area receives a keyboard event.
|
||||||
// You are allowed to do nothing except return false in this handler (to ignore mouse events).
|
// You are allowed to do nothing except return false in this handler (to ignore keyboard events).
|
||||||
// Do not do nothing but return true; this may have unintended consequences.
|
// Do not do nothing but return true; this may have unintended consequences.
|
||||||
// See KeyEvent for details.
|
// See KeyEvent for details.
|
||||||
Key(e KeyEvent) bool
|
Key(e KeyEvent) bool
|
||||||
|
|
Loading…
Reference in New Issue