Added note in MouseEvent documentation about both Down and Up being 0 representing mouse movement.
This commit is contained in:
parent
829cf7b1c6
commit
2c547cb5ec
1
area.go
1
area.go
|
@ -62,6 +62,7 @@ type MouseEvent struct {
|
|||
|
||||
// If the event was generated by a mouse button being released, Up contains the ID of that button.
|
||||
// Otherwise, Up contains 0.
|
||||
// If both Down and Up are 0, the event represents mouse movement (with optional held buttons; see below).
|
||||
Up uint
|
||||
|
||||
// If Down is nonzero, Count indicates the number of clicks: 1 for single-click, 2 for double-click.
|
||||
|
|
Loading…
Reference in New Issue